Compare commits

...
2 Commits
Author SHA1 Message Date
sk89q 133e4c2c78 Updated for 1.5.1. 2010-11-24 13:10:29 -08:00
sk89q b7e91ac6d0 'Fixed' java.lang.NoSuchMethodError: Item.setDamage(I)V. 2010-11-24 13:09:53 -08:00
3 changed files with 8 additions and 7 deletions

No files matched your search

+4
View File
@@ -1,3 +1,7 @@
1.5.1
- Removed the 'java.lang.NoSuchMethodError: Item.setDamage(I)V' error
generated.
1.5
- Removed the block lag fix.
- WorldGuard now conditionally loads features so you can use any up-to-date
+1 -1
View File
@@ -1,2 +1,2 @@
Manifest-Version: 1.0
WorldGuard-Version: 1.5
WorldGuard-Version: 1.5.1
+3 -6
View File
@@ -348,12 +348,9 @@ public class WorldGuardListener extends PluginListener {
}
}
if (!itemDurability) {
try {
item.setDamage(0);
} catch (java.lang.NoSuchMethodError e) {
}
}
/*if (!itemDurability) {
item.setDamage(0);
}*/
return false;
}