From 614b9727980bb91b897dfc974ad65cce45dcf9b0 Mon Sep 17 00:00:00 2001 From: sigonasr2 Date: Fri, 15 Jul 2016 18:31:43 -0500 Subject: [PATCH] Commit new jar. --- TwosideKeeper.jar | Bin 342308 -> 342308 bytes src/plugin.yml | 2 +- .../Common/GenericFunctions.java | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index 5475868894a0ca79dd81e495528e86d3d2cecd56..21b53edaa0947626224b0f38f412a2ad547b55f8 100644 GIT binary patch delta 114 zcmZ4TNo2_<5$*tQW)?061`Y;>PZPPd7(Y%l>*jbf`Mt-U`d!Z^o>XHzF!4h$Yx~9H z7k6&O%u7b7&lHd>*l!B_}(Mr>|&>hC)F4YCVmKJ{rTeY zi{{N9j82ak*EM%PY43i*2*gZ4%)Gt(3CkZ{#!b^ZgjlT@H%>n+#Oeq)U^|a6s|6e5 Ly6vu#toP*sdL%C0 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);