mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-14 04:24:05 +09:00
successfully altered the control scheme
This commit is contained in:
@@ -100,7 +100,7 @@ class ActorInventory() : FixtureInventory() {
|
||||
|
||||
if (amount < 0) throw IllegalArgumentException("Consuming negative amount of an item (expected >=0, got $amount)")
|
||||
|
||||
if (item.stackable && !item.canBeDynamic) {
|
||||
if (item.isConsumable) {
|
||||
remove(item, amount)
|
||||
}
|
||||
else if (item.isUnique) {
|
||||
|
||||
Reference in New Issue
Block a user