protect glow berries (#1459)

Addresses comment in https://github.com/TechFortress/GriefPrevention/issues/1352#issuecomment-877190767
This commit is contained in:
drbot7
2021-07-16 09:21:02 -07:00
committed by GitHub
parent 5a0829593d
commit fadc1aab30
@@ -1747,7 +1747,9 @@ class PlayerEventHandler implements Listener
clickedBlockType == Material.GRINDSTONE ||
clickedBlockType == Material.CARTOGRAPHY_TABLE ||
clickedBlockType == Material.LOOM ||
clickedBlockType == Material.RESPAWN_ANCHOR
clickedBlockType == Material.RESPAWN_ANCHOR ||
clickedBlockType == Material.CAVE_VINES ||
clickedBlockType == Material.CAVE_VINES_PLANT
)))
{
if (playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());