protect glow berries (#1459)
Addresses comment in https://github.com/TechFortress/GriefPrevention/issues/1352#issuecomment-877190767
This commit is contained in:
parent
5a0829593d
commit
fadc1aab30
|
|
@ -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());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user