protect glow berries (#1459)

Addresses comment in https://github.com/TechFortress/GriefPrevention/issues/1352#issuecomment-877190767
This commit is contained in:
drbot7 authored and GitHub committed 2021-07-16 09:21:02 -07:00
1 parent 5a0829593d
commit fadc1aab30
1 file changed
+3 -1
@@ -1747,7 +1747,9 @@ class PlayerEventHandler implements Listener
clickedBlockType == Material.GRINDSTONE || clickedBlockType == Material.GRINDSTONE ||
clickedBlockType == Material.CARTOGRAPHY_TABLE || clickedBlockType == Material.CARTOGRAPHY_TABLE ||
clickedBlockType == Material.LOOM || 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()); if (playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());