protect berry bushes in claims from being harvested without container trust

Closes #548
This commit is contained in:
RoboMWM 2019-07-29 21:14:20 -07:00
parent 768ad89a15
commit 6ddcaec112

View File

@ -1632,7 +1632,8 @@ class PlayerEventHandler implements Listener
clickedBlockType == Material.ANVIL ||
clickedBlockType == Material.CHIPPED_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());