Required build trust for redstone comparators.
Changing their configurations now requires build permission.
This commit is contained in:
parent
3c30168fb9
commit
a35ec99ddf
|
|
@ -1616,7 +1616,9 @@ class PlayerEventHandler implements Listener
|
|||
clickedBlockType == Material.DIODE_BLOCK_OFF ||
|
||||
clickedBlockType == Material.DRAGON_EGG ||
|
||||
clickedBlockType == Material.DAYLIGHT_DETECTOR ||
|
||||
clickedBlockType == Material.DAYLIGHT_DETECTOR_INVERTED
|
||||
clickedBlockType == Material.DAYLIGHT_DETECTOR_INVERTED ||
|
||||
clickedBlockType == Material.REDSTONE_COMPARATOR_ON ||
|
||||
clickedBlockType == Material.REDSTONE_COMPARATOR_OFF
|
||||
))
|
||||
{
|
||||
if(playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user