Commit new jar.

This commit is contained in:
sigonasr2 2016-07-15 18:31:43 -05:00
parent d17fadffe0
commit 614b972798
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -1,6 +1,6 @@
name: TwosideKeeper name: TwosideKeeper
main: sig.plugin.TwosideKeeper.TwosideKeeper main: sig.plugin.TwosideKeeper.TwosideKeeper
version: 3.5.4r3 version: 3.5.4r4
commands: commands:
money: money:
description: Tells the player the amount of money they are holding. description: Tells the player the amount of money they are holding.

View File

@ -2133,7 +2133,7 @@ public class GenericFunctions {
//TwosideKeeper.log("In Darkness.",2); //TwosideKeeper.log("In Darkness.",2);
} }
double chance = 1; double chance = 1;
if (Math.random()<=chance/100d) { if (Math.random()<=chance/100d) {
if (p.getInventory().getItem(i).getDurability()-repairamt<0) { if (p.getInventory().getItem(i).getDurability()-repairamt<0) {
p.getInventory().getItem(i).setDurability((short)0); p.getInventory().getItem(i).setDurability((short)0);
TwosideKeeper.log("Repaired "+p.getInventory().getItem(i).toString()+" to full durability.", 5); TwosideKeeper.log("Repaired "+p.getInventory().getItem(i).toString()+" to full durability.", 5);