mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-14 18:40:18 -07:00
Fixed removing full stack of seeds when planting them
This commit is contained in:
parent
bdb014711c
commit
a88c98bc9a
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ class SeedlingListener : InteractionListener {
|
||||||
|
|
||||||
val seedling = getSeedling(seed.id)
|
val seedling = getSeedling(seed.id)
|
||||||
if (seedling == -1) return false
|
if (seedling == -1) return false
|
||||||
if (!removeItem(player, seed) || !removeItem(player, pot)) return true
|
if (!removeItem(player, seed.id) || !removeItem(player, pot)) return true
|
||||||
addItem(player, seedling)
|
addItem(player, seedling)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue