java.lang.NullPointerException: Ticking entity

GitHub | melindaendv | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    Ticking entity

    at train.common.items.ItemTCRail.isTCTurnTrack()
  2. train.common.items
    ItemTCRail.isTCTurnTrack
    1. train.common.items.ItemTCRail.isTCTurnTrack(ItemTCRail.java:91)
    1 frame
  3. train.common.api
    Freight.func_70071_h_
    1. train.common.api.EntityRollingStock.updateOnTrack(EntityRollingStock.java:1264)
    2. train.common.api.EntityRollingStock.func_70071_h_(EntityRollingStock.java:861)
    3. train.common.api.Freight.func_70071_h_(Freight.java:135)
    3 frames
  4. Minecraft
    WorldServer.func_72939_s
    1. net.minecraft.world.World.func_72866_a(World.java:2070)
    2. net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
    3. net.minecraft.world.World.func_72870_g(World.java:2034)
    4. net.minecraft.world.World.func_72939_s(World.java:1887)
    5. net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
    5 frames
  5. MC Server
    MinecraftServer$2.run
    1. net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
    2. net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:334)
    3. net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
    4. net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
    5. net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)
    5 frames