From bcee6abb65e002b9e6f9fe5ebb262c028f5752db Mon Sep 17 00:00:00 2001 From: NuclearW Date: Tue, 15 May 2012 00:49:19 -0400 Subject: [PATCH] Re-add call to updateInventory --- src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java b/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java index 7381de143..81e556f9e 100644 --- a/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java +++ b/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java @@ -42,6 +42,7 @@ public class Herbalism { } else if (hasSeeds && !block.getType().equals(Material.WHEAT)) { inventory.removeItem(new ItemStack(Material.SEEDS)); + player.updateInventory(); // Needed until replacement available greenTerraConvert(player, block); } } @@ -298,6 +299,7 @@ public class Herbalism { plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new GreenThumbTimer(block, PP), 1); inventory.removeItem(new ItemStack(Material.SEEDS)); + player.updateInventory(); // Needed until replacement available } }