Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Deployer crashes game if it interacts with entity #20

Open
Red8Bee opened this issue Apr 9, 2024 · 0 comments
Open

Deployer crashes game if it interacts with entity #20

Red8Bee opened this issue Apr 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Red8Bee
Copy link

Red8Bee commented Apr 9, 2024

Describe the Bug

If the Deployer is running and a mob/player/item is lying under it (not on a belt or Depot) the game crashes with this error report

---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 2024-04-09 23:06:05
Description: Ticking entity

java.lang.NullPointerException: Cannot invoke "java.util.Collection.stream()" because the return value of "net.minecraft.class_1297.captureDrops()" is null
at com.simibubi.create.content.kinetics.deployer.DeployerHandler.activateInner(DeployerHandler.java:206)
at com.simibubi.create.content.kinetics.deployer.DeployerHandler.activate(DeployerHandler.java:134)
at com.simibubi.create.content.kinetics.deployer.DeployerMovementBehaviour.activate(DeployerMovementBehaviour.java:108)
at com.simibubi.create.content.kinetics.deployer.DeployerMovementBehaviour.visitNewPosition(DeployerMovementBehaviour.java:77)
at com.simibubi.create.content.contraptions.AbstractContraptionEntity.tickActors(AbstractContraptionEntity.java:469)
at com.simibubi.create.content.contraptions.OrientedContraptionEntity.tickContraption(OrientedContraptionEntity.java:287)
at com.simibubi.create.content.contraptions.AbstractContraptionEntity.method_5773(AbstractContraptionEntity.java:383)
at net.minecraft.class_1297.method_5842(class_1297.java:2039)
at net.minecraft.class_3218.method_18763(class_3218.java:762)
at net.minecraft.class_3218.method_18762(class_3218.java:743)
at net.minecraft.class_1937.method_18472(class_1937.java:480)
at net.minecraft.class_3218.method_31420(class_3218.java:385)
at net.minecraft.class_5574.method_31791(class_5574.java:54)
at net.minecraft.class_3218.method_18765(class_3218.java:353)
at net.minecraft.server.MinecraftServer.method_3813(MinecraftServer.java:897)
at net.minecraft.class_3176.method_3813(class_3176.java:283)
at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:824)
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(Thread.java:833)

Reproduction Steps

  1. Place and Power deployer
  2. thow an item under it or stand under it
  3. let the deployer hand touch the item

Expected Result

The Game Crashes

Screenshots and Videos

No response

Crash Report or Log

No response

Operating System

Windows 10

Mod Version

0.5.1d

Minecraft Version

1.20.1

Other Mods

Heapheistos

Additional Context

No response

@Red8Bee Red8Bee added the bug Something isn't working label Apr 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant