chaseoes / TF2

Team Fortress 2 in Minecraft using the Bukkit server mod.
10 stars 13 forks source link

Class system assumes Armor is there #81

Closed psycowithespn closed 10 years ago

psycowithespn commented 10 years ago

If you have no armor in the class chest, error occurs

09:37:22 WARN: at com.chaseoes.tf2.utilities.ArmorUtilities.setColor(ArmorUtilities.java:10) 09:37:22 WARN: at com.chaseoes.tf2.classes.TF2Class.apply(TF2Class.java:107) 09:37:22 WARN: at com.chaseoes.tf2.listeners.PlayerInteractListener.onPlayerInteract(PlayerInteractListener.java:101) --------------SNIP------------- [09:37:22 ERROR]: [MC2] The error encountered while changing a player's class is above! Note that TF2 v2.0 has a new format for defining items - click here to v iew the new default configuration: http://goo.gl/LdKKR