[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / model / item / InventoryItem.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt b/core/src/ru/deadsoftware/cavedroid/game/model/item/InventoryItem.kt
index aa646cbe8fb88437cae365ea8c4c724fd335319d..5121ab3f9f778575af8131c553cbe07f035bdefc 100644 (file)
@JvmOverloads
fun canBeAdded(count: Int = 1): Boolean {
- return !item.isTool() && amount + count <= item.params.maxStack
+ return amount + count <= item.params.maxStack
}
private fun drawAmountText(spriteBatch: SpriteBatch, text: String, x: Float, y: Float) {