Protect candles from being extinguished (#1526)

This commit is contained in:
drbot7 2021-08-19 10:51:35 -05:00 committed by GitHub
parent e8c5b37119
commit 134729167b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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