From b235d7a94ab98cb2fe2504817d06c326d8f53961 Mon Sep 17 00:00:00 2001 From: Nonoriri Date: Sun, 17 Nov 2013 04:14:23 -0500 Subject: [PATCH] int = 0.5 lol --- BankEconomyMod/src/me/kaZep/Base/PlayerListener.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java index bf51ef7..7049780 100644 --- a/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java +++ b/BankEconomyMod/src/me/kaZep/Base/PlayerListener.java @@ -10147,23 +10147,19 @@ public ItemStack getGoodie() { crafteditem=true; } if (item.getType()==Material.CHAINMAIL_BOOTS) { - int mult=0.5; - this.plugin.gainMoneyExp(p,"Blacksmith",0.375*mult*amount,80*mult*amount); + this.plugin.gainMoneyExp(p,"Blacksmith",0.375*0.5*amount,80*0.5*amount); crafteditem=true; } if (item.getType()==Material.CHAINMAIL_HELMET) { - int mult=0.5; - this.plugin.gainMoneyExp(p,"Blacksmith",0.50*mult*amount,100*mult*amount); + this.plugin.gainMoneyExp(p,"Blacksmith",0.50*0.5*amount,100*0.5*amount); crafteditem=true; } if (item.getType()==Material.CHAINMAIL_LEGGINGS) { - int mult=0.5; - this.plugin.gainMoneyExp(p,"Blacksmith",0.725*mult*amount,140*mult*amount); + this.plugin.gainMoneyExp(p,"Blacksmith",0.725*0.5*amount,140*0.5*amount); crafteditem=true; } if (item.getType()==Material.CHAINMAIL_CHESTPLATE) { - int mult=0.5; - this.plugin.gainMoneyExp(p,"Blacksmith",0.875*mult*amount,175*mult*amount); + this.plugin.gainMoneyExp(p,"Blacksmith",0.875*0.5*amount,175*0.5*amount); crafteditem=true; } if (item.getType()==Material.IRON_BOOTS) {