Update for new POTTED materials (#403)

Fixes #386
This commit is contained in:
112madgamer 2018-11-03 02:42:35 +11:00 committed by RoboMWM
parent 22e9f582cb
commit e2aae1d0f3

View File

@ -1805,7 +1805,7 @@ class PlayerEventHandler implements Listener
clickedBlockType == Material.DRAGON_EGG ||
clickedBlockType == Material.DAYLIGHT_DETECTOR ||
clickedBlockType == Material.COMPARATOR ||
clickedBlockType == Material.FLOWER_POT
Tag.FLOWER_POTS.isTagged(clickedBlockType)
))
{
if(playerData == null) playerData = this.dataStore.getPlayerData(player.getUniqueId());