Protect candles from being extinguished (#1526)

This commit is contained in:
drbot7
2021-08-19 08:51:35 -07:00
committed by GitHub
parent e8c5b37119
commit 134729167b
@@ -1750,7 +1750,8 @@ class PlayerEventHandler implements Listener
clickedBlockType == Material.RESPAWN_ANCHOR ||
clickedBlockType == Material.CAVE_VINES ||
clickedBlockType == Material.CAVE_VINES_PLANT ||
clickedBlockType == Material.PUMPKIN
clickedBlockType == Material.PUMPKIN ||
Tag.CANDLES.isTagged(clickedBlockType)
)))
{
if (playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());