This commit is contained in:
roastnewt 2014-01-29 20:54:15 -05:00
parent b50ba9c02e
commit 1b49db2083

View File

@ -57,7 +57,7 @@ public class AlchemyBrewTask extends BukkitRunnable {
@Override
public void run() {
if (player == null || !player.isValid() || brewingStand == null || brewingStand.getType() != Material.BREWING_STAND) {
if (player == null || !player.isValid() || brewingStand == null || brewingStand.getType() != Material.BREWING_STAND || brewingStand.getState() == null) {
if (Alchemy.brewingStandMap.containsKey(brewingStand)) {
Alchemy.brewingStandMap.remove(brewingStand);
}