Remove could not get proper tier of item spam messages. (They weren't

actually errors anyways)
This commit is contained in:
sigonasr2 2016-08-25 06:15:47 -05:00
parent 47f774be4b
commit 6be1190751
2 changed files with 6 additions and 6 deletions

Binary file not shown.

View File

@ -99,11 +99,11 @@ public enum ItemSet {
m.setLore(lore); m.setLore(lore);
item.setItemMeta(m); item.setItemMeta(m);
GenericFunctions.UpdateItemLore(item); //Update this item now that we upgraded the tier. GenericFunctions.UpdateItemLore(item); //Update this item now that we upgraded the tier.
}
if (!found) { if (!found) {
TwosideKeeper.log(ChatColor.RED+"[ERROR] Could not detect proper tier of "+item.toString()+"!", 1); TwosideKeeper.log(ChatColor.RED+"[ERROR] Could not detect proper tier of "+item.toString()+"!", 1);
} }
} }
}
public static int GetBaseAmount(ItemSet set, int tier, int stat) { public static int GetBaseAmount(ItemSet set, int tier, int stat) {
//stat will be 1 for the base value, 2 for the 2-piece set bonus, 3 for the 3-piece set bonus, and 4 for the 4-piece set bonus. //stat will be 1 for the base value, 2 for the 2-piece set bonus, 3 for the 3-piece set bonus, and 4 for the 4-piece set bonus.
@ -346,9 +346,9 @@ public enum ItemSet {
m.setLore(lore); m.setLore(lore);
item.setItemMeta(m); item.setItemMeta(m);
GenericFunctions.UpdateItemLore(item); //Update this item now that we upgraded the tier. GenericFunctions.UpdateItemLore(item); //Update this item now that we upgraded the tier.
}
if (!found) { if (!found) {
TwosideKeeper.log(ChatColor.RED+"[ERROR] Could not detect proper tier of "+item.toString()+"!", 1); TwosideKeeper.log(ChatColor.RED+"[ERROR] Could not detect proper tier of "+item.toString()+"!", 1);
} }
} }
} }
}