diff --git a/pom.xml b/pom.xml index 7566c49ed..9438fa952 100644 --- a/pom.xml +++ b/pom.xml @@ -107,14 +107,14 @@ org.bukkit bukkit - 1.1-R3-SNAPSHOT + 1.1-R4-SNAPSHOT jar compile org.bukkit craftbukkit - 1.1-R2 + 1.1-R3 jar compile diff --git a/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java b/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java index 95f47ec0d..9daedef2f 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcBlockListener.java @@ -73,11 +73,11 @@ public class mcBlockListener implements Listener } //Check if the blocks placed should be monitored so they do not give out XP in the future - if(m.shouldBeWatched(event.getItemInHand().getTypeId())) // Modified for terrible hack for R2 issue + if(m.shouldBeWatched(block)) { if(block.getTypeId() != 17 && block.getTypeId() != 39 && block.getTypeId() != 40 && block.getTypeId() != 91 && block.getTypeId() != 86) { //block.setData((byte) 5); //Change the byte - //The following is a method to get around a breakage in 1.1-R2, + //The following is a method to get around a breakage in 1.1-R2 and onward //it should be removed as soon as functionality to change a block //in this event returns. plugin.changeQueue.push(block); diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 4de14a2d6..75c799fd7 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -101,7 +101,7 @@ public class mcMMO extends JavaPlugin //Jar stuff public static File mcmmo; - //Queue for block data change for R2 workaround + //Queue for block data change for R2+ fix public ArrayDeque changeQueue = new ArrayDeque(); public void onEnable() @@ -164,7 +164,7 @@ public class mcMMO extends JavaPlugin System.out.println(pdfFile.getName() + " version " + pdfFile.getVersion() + " is enabled!" ); Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this, mcMMO_Timer, 0, 20); - //R2 block place workaround + //R2+ block place fix Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this, ChangeDataValueTimer, 0, 10); registerCommands();