Draco18s / ReasonableRealism

For 1.10!
Other
17 stars 8 forks source link

NullPointerException when trying to insert sand into a non-container sluice from a hopper #5

Closed nornagon closed 7 years ago

nornagon commented 7 years ago

MC version: 1.10.2 Harder Ores version: 1.1.0c

I placed a hopper pointing at a the first of two non-container sluices in a connected row and dropped a stack of sand into it, and the game immediately crashed with the following exception:

java.lang.NullPointerException: Ticking block entity
    at com.draco18s.ores.entities.TileEntityBasicSluice.getCapability(TileEntityBasicSluice.java:284)
    at com.draco18s.ores.entities.TileEntityBasicSluice.hasCapability(TileEntityBasicSluice.java:277)
    at net.minecraftforge.items.VanillaInventoryCodeHooks.insertHook(VanillaInventoryCodeHooks.java:117)
    at net.minecraftforge.items.VanillaInventoryCodeHooks.insertHook(VanillaInventoryCodeHooks.java:107)
    at net.minecraft.tileentity.TileEntityHopper.func_145883_k(TileEntityHopper.java:254)
    at net.minecraft.tileentity.TileEntityHopper.func_145887_i(TileEntityHopper.java:202)
    at net.minecraft.tileentity.TileEntityHopper.func_73660_a(TileEntityHopper.java:187)
    at net.minecraft.world.World.func_72939_s(World.java:1804)
    at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:620)
    at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:709)
    at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613)
    at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471)
    at java.lang.Thread.run(Unknown Source)

Full log here: http://paste.ee/p/ccn7k

Draco18s commented 7 years ago

I'll take a look here this evening if I can. Tomorrow if I can't.

nornagon commented 7 years ago

Thanks! Let me know if there's any further information I can provide.

Draco18s commented 7 years ago

Nope, the pasted crash is all I needed. Thanks.

Draco18s commented 7 years ago

Fixed for next build.

nornagon commented 7 years ago

Thanks! On Wed, Dec 28, 2016 at 21:12 Draco18s notifications@github.com wrote:

Fixed for next build.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Draco18s/ReasonableRealism/issues/5#issuecomment-269582804, or mute the thread https://github.com/notifications/unsubscribe-auth/AAKjALrb6jUrhQeLH1eDB_b1fBydZfiyks5rM0FCgaJpZM4LXTqO .