mirror of
https://github.com/Artillex-Studios/AxMinions.git
synced 2025-01-05 18:37:44 +01:00
Fix minions being taken when they shouldn't be taken
This commit is contained in:
parent
f623720ea3
commit
190c498e87
@ -80,7 +80,6 @@ class MinionPlaceListener : Listener {
|
||||
meta = item.itemMeta!!
|
||||
meta.persistentDataContainer.remove(Keys.PLACED)
|
||||
item.itemMeta = meta
|
||||
item.amount = item.amount.minus(1)
|
||||
}
|
||||
return@submit
|
||||
}
|
||||
@ -92,7 +91,6 @@ class MinionPlaceListener : Listener {
|
||||
meta = item.itemMeta!!
|
||||
meta.persistentDataContainer.remove(Keys.PLACED)
|
||||
item.itemMeta = meta
|
||||
item.amount = item.amount.minus(1)
|
||||
}
|
||||
return@submit
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user