EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
833 stars 546 forks source link

/stack unstacking when put in chests/inventory #2122

Closed Castiella closed 3 months ago

Castiella commented 3 months ago

WorldEdit Version

worldedit-bukkit-7.3.6-SNAPSHOT

WorldGuard Version

7.0.11-SNAPSHOT+2287-8ffc81a

Platform Version

Paper version 1.21-123-master@0a1be9a (2024-07-31T02:57:35Z) (Implementing API version 1.21-R0.1-SNAPSHOT)

Confirmations

Bug Description

Since updating to 1.21 all previously stacked items have unstacked. If they were in a chest, they are all now singular items and if the chest is full they have just deleted completely. The same with any stacked items in inventories.

If you run /stack - the items stack but then once moved they all unstack again.

Expected Behavior

For things to remain stacked.

Reproduction Steps

/stack place stacked items in inventory or container.

Optional WorldGuard-Report

No response

Anything Else?

No response

wizjany commented 3 months ago

should only be an issue with bypassing max stack size as mojang now checks that per-item-stack. additionally, this is a legacy command that will likely be removed from WG at some point as it really doesn't fit.