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 11:21:02 -05:00 committed by GitHub
parent 5a0829593d
commit fadc1aab30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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());