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
hasCustomEntity(ItemStack stack) -> change return hasCustomData(stack) to return true
Steps to Reproduce:
execute /give travelersbackpack:bat command
1 Copy of item lands in player inventory, second copy is created and is being thrown in world
Description of issue:
When a modded item implements the hasCustomEntity method and the createEntity method to create a custom entity when added to the world, it causes the entity to duplicate when the /give command is used
The text was updated successfully, but these errors were encountered:
So workarounds are needed? The second issue has the solution proposed but it seems like it was never introduced. Then reported that bug does not occur in 1.13, but it happens now.
Minecraft Version: 1.21.1 (Probably more affected)
NeoForge Version: 21.1.93
Logs: No logs
Code:
Notes for easier reproduction:
Steps to Reproduce:
Description of issue:
When a modded item implements the hasCustomEntity method and the createEntity method to create a custom entity when added to the world, it causes the entity to duplicate when the /give command is used
The text was updated successfully, but these errors were encountered: