mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-26 02:28:03 +01:00
Return on this error
This commit is contained in:
parent
b638eef1c6
commit
437a608d2b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user