mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-21 13:35:34 +02:00
So many useless else statements...
This commit is contained in:
@@ -187,9 +187,8 @@ public class SimpleRepairManager implements RepairManager {
|
||||
if (inventory.getItem(location).getTypeId() == itemId) {
|
||||
return location;
|
||||
}
|
||||
else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return -1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user