From 1b49db2083151a31256e2a0cc8ebf3c660cbbad0 Mon Sep 17 00:00:00 2001 From: roastnewt Date: Wed, 29 Jan 2014 20:54:15 -0500 Subject: [PATCH] Fixes #1811 --- .../com/gmail/nossr50/runnables/skills/AlchemyBrewTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/runnables/skills/AlchemyBrewTask.java b/src/main/java/com/gmail/nossr50/runnables/skills/AlchemyBrewTask.java index 8bf8fa938..76bc2c096 100644 --- a/src/main/java/com/gmail/nossr50/runnables/skills/AlchemyBrewTask.java +++ b/src/main/java/com/gmail/nossr50/runnables/skills/AlchemyBrewTask.java @@ -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); }