diff --git a/Changelog.txt b/Changelog.txt index 99c5d1f2a..cf3dbda60 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -7,6 +7,12 @@ Key: ! Change - Removal +Version 1.3.13 + + Added Craftbukkit 1.4.6 compatibility + + Added default cases to several switch/case statements + ! GJ stopped being a lazy slacker and got stuff done + - Removed dead code relating to null profiles + Version 1.3.12 + Added Craftbukkit 1.4.5 compatibility + Added new items from Minecraft 1.4 to Herbalism (potatoes & carrots) diff --git a/src/main/java/com/gmail/nossr50/runnables/GreenThumbTimer.java b/src/main/java/com/gmail/nossr50/runnables/GreenThumbTimer.java index 9181ee516..57f04bd3d 100644 --- a/src/main/java/com/gmail/nossr50/runnables/GreenThumbTimer.java +++ b/src/main/java/com/gmail/nossr50/runnables/GreenThumbTimer.java @@ -79,6 +79,8 @@ public class GreenThumbTimer implements Runnable { this.block.setData((byte) ((this.block.getData() ^ ((byte) 0xc)) | ((byte) 4))); } break; + default: + break; } } } 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 ce5095fab..ce88c120e 100644 --- a/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java +++ b/src/main/java/com/gmail/nossr50/skills/gathering/Herbalism.java @@ -422,6 +422,8 @@ public class Herbalism { case NETHER_WARTS: hasSeeds = inventory.contains(Material.NETHER_STALK); break; + default: + break; } int randomChance = 1500; @@ -459,6 +461,8 @@ public class Herbalism { Misc.randomDropItems(location, new ItemStack(Material.NETHER_STALK), 50, 2); inventory.removeItem(new ItemStack(Material.NETHER_STALK)); break; + default: + break; } plugin.getServer().getScheduler().scheduleSyncDelayedTask(plugin, new GreenThumbTimer(block, profile, type), 1);