From 3932036a2c5ebbf479401e1516a183b333d6e247 Mon Sep 17 00:00:00 2001 From: gmcferrin Date: Thu, 26 Jan 2012 12:17:02 -0500 Subject: [PATCH] Bugfix for getMaxDurability() checking for Diamond ID values instead of Gold ID values. --- src/main/java/com/gmail/nossr50/m.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/m.java b/src/main/java/com/gmail/nossr50/m.java index 675daffbc..403f909c9 100644 --- a/src/main/java/com/gmail/nossr50/m.java +++ b/src/main/java/com/gmail/nossr50/m.java @@ -178,10 +178,10 @@ public class m { int id = item.getTypeId(); if(tier == 1){ - if((id == 276 || id == 277 || id == 278 || id == 279 || id == 293)){ - return 33; + if((id == 283 || id == 284 || id == 285 || id == 286 || id == 294)){ + return 33; //GOLD } else { - return 60; + return 60; //WOOD } } else if (tier == 2){ return 132;