mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-01-19 08:55:26 +01:00
Logic fix
This commit is contained in:
parent
edbf46a751
commit
4b5ca5ecf4
@ -106,7 +106,7 @@ public class SimpleRepairManager implements RepairManager {
|
||||
|
||||
// We're going to hold onto our repair item location
|
||||
int repairItemLocation;
|
||||
if(repairable.getRepairMaterialMetadata() != (byte) -1) {
|
||||
if(repairable.getRepairMaterialMetadata() == (byte) -1) {
|
||||
repairItemLocation = findInInventory(inventory, repairable.getRepairMaterialId());
|
||||
} else {
|
||||
// Special case for when the repairable has metadata that must be addressed
|
||||
|
Loading…
x
Reference in New Issue
Block a user