Return on this error

This commit is contained in:
NuclearW 2012-05-22 04:37:41 -04:00
parent b638eef1c6
commit 437a608d2b

View File

@ -117,6 +117,7 @@ public class SimpleRepairManager implements RepairManager {
// This should never happen, but if it does we need to complain loudly about it.
if(repairItemLocation == -1) {
player.sendMessage("mcMMO encountered an error attempting to repair this item!"); // TODO: Locale ?
return;
}
// Call event