Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes when a deployer kills a mob #1227

Closed
putte86 opened this issue Dec 18, 2023 · 1 comment
Closed

Game crashes when a deployer kills a mob #1227

putte86 opened this issue Dec 18, 2023 · 1 comment
Labels
type: bug Issue where something isn't working

Comments

@putte86
Copy link

putte86 commented Dec 18, 2023

Describe the Bug

i built a blaze farm, the blaze lands infront of a deployer which attacks the blaze with a dieamond sword. when the blaze dies, the game crashes

Reproduction Steps

1.put a mob infront of a deployer
2.right click deployer with a wrench to put it on attack mode
3.give the deployer a diamond sword
4. poweer the deployer
5. wait for the mob to die

Expected Result

i expected the game not to crash as i assume this is the intendet feuture of having a deployer attack a mob

Screenshots and Videos

No response

Crash Report or Log

Description: Ticking block entity

java.lang.NullPointerException: Cannot invoke "java.util.List.forEach(java.util.function.Consumer)" because "capturedDrops" is null
at com.simibubi.create.content.kinetics.deployer.DeployerHandler.activateInner(DeployerHandler.java:207)
at com.simibubi.create.content.kinetics.deployer.DeployerHandler.activate(DeployerHandler.java:134)
at com.simibubi.create.content.kinetics.deployer.DeployerBlockEntity.activate(DeployerBlockEntity.java:358)
at com.simibubi.create.content.kinetics.deployer.DeployerBlockEntity.tick(DeployerBlockEntity.java:244)
at com.simibubi.create.foundation.blockEntity.SmartBlockEntityTicker.tick(SmartBlockEntityTicker.java:15)
at net.minecraft.class_2818$class_5563.method_31703(class_2818.java:662)
at net.minecraft.class_2818$class_5564.method_31703(class_2818.java:716)
at net.minecraft.class_1937.method_18471(class_1937.java:470)
at net.minecraft.class_3218.method_18765(class_3218.java:390)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824)
at net.minecraft.class_1132.method_3748(class_1132.java:105)
at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:671)
at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:265)
at java.base/java.lang.Thread.run(Unknown Source)

Operating System

windows 10

Mod Version

0.5.1d

Minecraft Version

1.20.1

Other Mods

Create Crafts & Additions, AE2

Additional Context

No response

@putte86 putte86 added the type: bug Issue where something isn't working label Dec 18, 2023
@drwoops
Copy link

drwoops commented Dec 18, 2023

duplicate of #1096

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Issue where something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants