Protect candles from being extinguished (#1526)
This commit is contained in:
parent
e8c5b37119
commit
134729167b
|
|
@ -1750,7 +1750,8 @@ class PlayerEventHandler implements Listener
|
||||||
clickedBlockType == Material.RESPAWN_ANCHOR ||
|
clickedBlockType == Material.RESPAWN_ANCHOR ||
|
||||||
clickedBlockType == Material.CAVE_VINES ||
|
clickedBlockType == Material.CAVE_VINES ||
|
||||||
clickedBlockType == Material.CAVE_VINES_PLANT ||
|
clickedBlockType == Material.CAVE_VINES_PLANT ||
|
||||||
clickedBlockType == Material.PUMPKIN
|
clickedBlockType == Material.PUMPKIN ||
|
||||||
|
Tag.CANDLES.isTagged(clickedBlockType)
|
||||||
)))
|
)))
|
||||||
{
|
{
|
||||||
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