You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2023. It is now read-only.
When the Max quantity option on an item is left blank, in-game the item's maxQuantity property is null.
This leads to the matchingItem._stats.maxQuantity - matchingItem._stats.quantity > 0 condition never passing because null is 0, and items of infinite max quantity will never stack. Either the editor could be reworked to save blank number inputs as Infinity, or line 991 of Unit.js can be changed to check if maxQuantity is null.
When the
Max quantity
option on an item is left blank, in-game the item'smaxQuantity
property isnull
.This leads to the
matchingItem._stats.maxQuantity - matchingItem._stats.quantity > 0
condition never passing because null is 0, and items of infinite max quantity will never stack. Either the editor could be reworked to save blank number inputs as Infinity, or line 991 of Unit.js can be changed to check if maxQuantity is null.taro/src/gameClasses/Unit.js
Line 991 in 08f2f27
The text was updated successfully, but these errors were encountered: