Deny pumpkin carving in untrusted claims (#1473)

Fixes #1352
This commit is contained in:
drbot7 authored and GitHub committed 2021-07-17 08:58:21 -07:00
1 parent d930e45440
commit 16036bdc19
1 file changed
+2 -1
@@ -1749,7 +1749,8 @@ class PlayerEventHandler implements Listener
clickedBlockType == Material.LOOM ||
clickedBlockType == Material.RESPAWN_ANCHOR ||
clickedBlockType == Material.CAVE_VINES ||
clickedBlockType == Material.CAVE_VINES_PLANT
clickedBlockType == Material.CAVE_VINES_PLANT ||
clickedBlockType == Material.PUMPKIN
)))
{
if (playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());