protect berry bushes in claims from being harvested without container trust
Closes #548
This commit is contained in:
parent
768ad89a15
commit
6ddcaec112
|
|
@ -1632,7 +1632,8 @@ class PlayerEventHandler implements Listener
|
||||||
clickedBlockType == Material.ANVIL ||
|
clickedBlockType == Material.ANVIL ||
|
||||||
clickedBlockType == Material.CHIPPED_ANVIL ||
|
clickedBlockType == Material.CHIPPED_ANVIL ||
|
||||||
clickedBlockType == Material.DAMAGED_ANVIL ||
|
clickedBlockType == Material.DAMAGED_ANVIL ||
|
||||||
clickedBlockType == Material.CAKE)))
|
clickedBlockType == Material.CAKE ||
|
||||||
|
clickedBlockType == Material.SWEET_BERRY_BUSH)))
|
||||||
{
|
{
|
||||||
if(playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());
|
if(playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user