diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index 5475868..21b53ed 100644 Binary files a/TwosideKeeper.jar and b/TwosideKeeper.jar differ diff --git a/src/plugin.yml b/src/plugin.yml index 643c1da..f67ce80 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: TwosideKeeper main: sig.plugin.TwosideKeeper.TwosideKeeper -version: 3.5.4r3 +version: 3.5.4r4 commands: money: description: Tells the player the amount of money they are holding. diff --git a/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java b/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java index 0af0049..f96a1ca 100644 --- a/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java +++ b/src/sig/plugin/TwosideKeeper/HelperStructures/Common/GenericFunctions.java @@ -2133,7 +2133,7 @@ public class GenericFunctions { //TwosideKeeper.log("In Darkness.",2); } double chance = 1; - if (Math.random()<=chance/100d) { + if (Math.random()<=chance/100d) { if (p.getInventory().getItem(i).getDurability()-repairamt<0) { p.getInventory().getItem(i).setDurability((short)0); TwosideKeeper.log("Repaired "+p.getInventory().getItem(i).toString()+" to full durability.", 5);