Untitled Duck Mod (Forge)

Untitled Duck Mod (Forge)

195k Downloads

Entire stack of occupied duck sacks disappeared when used

trevorjd opened this issue ยท 0 comments

commented

Describe the bug
This is an edge case. Will likely not be encountered by most people.

Playing the modpack Seaopolis 2. The pack author added an occupied duck sack to the loot table for their mob loot bags. If you open multiple loot bags at once, you might get multiple duck sacks. The way the pack is spawning them in, they are being stacked in your inventory.

When right clicking the stack to release a duck, a single duck was release and the entire stack disappeared.

If the sacks are spread out across the hotbar such that they're in stacks of 1, it works as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Spawn a few occupied Duck sacks with JEI
  2. Right click the stack on a hard surface
  3. Observe the sack of however many is now only a single empty sack and you only have 1 duck in the world
  4. Lament the cruel nature of the world with your single duck buddy.

Expected behavior
When right clicking a stack of occupied duck sacks, a single duck should be released/spawned, a single empty sack spawned into inventory, and the stack quantity reduced by one.

Version
What version of the mod are you using? Are you using fabric or forge?
untitledduckmod-0.6.1-1.19.2-forge

Error Log
n/a

Screenshots or Videos
n/a

Additional context
n/a