mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-08-03 13:05:30 +02:00
Best way to handle minimum quantities.
Check repair function first, assuming the item isn't null, otherwise check the config. If not found, check config.
This commit is contained in:
@@ -108,10 +108,6 @@ public class Repair {
|
||||
}
|
||||
}
|
||||
|
||||
if (quantity <= 0) {
|
||||
return 2;
|
||||
}
|
||||
|
||||
return quantity;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user