mirror of
https://github.com/craftaro/EpicSpawners.git
synced 2025-01-09 03:57:40 +08:00
Fixes #SD-51
This commit is contained in:
parent
57dbfcb189
commit
ec901f5b3d
@ -576,7 +576,7 @@ public class ESpawner implements Spawner {
|
||||
&& player.getItemInHand() != null
|
||||
&& player.getItemInHand().hasItemMeta()
|
||||
&& player.getItemInHand().getItemMeta().hasEnchant(Enchantment.SILK_TOUCH)
|
||||
&& player.hasPermission("epicspawners.silkdrop." + stack.getSpawnerData().getIdentifyingName())
|
||||
&& player.hasPermission("epicspawners.silkdrop." + stack.getSpawnerData().getIdentifyingName().replace(' ','_'))
|
||||
|| player.hasPermission("epicspawners.no-silk-drop")) {
|
||||
|
||||
int ch = Integer.parseInt(instance.getConfig().getString((placedBy != null
|
||||
|
Loading…
Reference in New Issue
Block a user