Forgot To Stack

Severity:

Status:

Code:

Affected Versions:

Description: Most Redstone CG blocks are intended to stack in inventories. Due to this bug, however, stacks were limited to 1 item per stack.

Cause: In a version prior to 0.3.0, a shared abstraction was introduced where all registered items used the same Item.Properties instance. Because this instance was shared, a change to its stack size affected all items, resulting in a global stack limit of 1.

Consequences: All Redstone CG items were limited to a stack size of 1 and RedCu Crafter produced only a single item instead of the intended amount.

Resolved: This issue was resolved in version 0.3.1. Instead of reusing a shared variable, a function is now used to generate a new Item.Properties instance for each registered item, ensuring that stack sizes are handled independently.