[1.10.2] Capture Bug - Refined Storage

Issue #11 new
Praetoras created an issue

First bug with new version :D When attempting to capture a structure containing refined storage Disk Drive, the capture fails and the structure is only partially captured. Interesting to note: the server does not crash (which is good) and neither does the viewer. But the structure itself will be ruined because whatever was captured before hitting the incompatible block will be gone. Don't worry, I kept backups :)

Notes on the Refined Storage Disk Drive block: the disk drive contained a creative storage disk (basically, it allows me to save as many items as I need - infinite storage). If you need any further info, just let me know!

This was on forge-1.10.2-12.18.1.2064

refinedstorage-0.8.19

Capsule-1.10.2-1.2.0

Server error log is as follows:

[01:44:39] [Server thread/INFO] [STDOUT]: [capsule.structure.CapsuleTemplateManager:readTemplateFromJar:123]: reading from jar at/C-Starfall_Leyline-0.nbt
[01:44:39] [Server thread/INFO] [STDOUT]: [capsule.structure.CapsuleTemplateManager:readTemplateFromJar:123]: reading from jar at/C-Starfall_Leyline-0.nbt
[01:44:39] [Server thread/ERROR] [capsule.items.CapsuleItem]: Couldn't capture the content into the capsule
java.lang.NullPointerException
        at refinedstorage.block.BlockDiskDrive.func_180663_b(BlockDiskDrive.java:54) ~[BlockDiskDrive.class:?]
        at net.minecraft.world.chunk.Chunk.func_177436_a(Chunk.java:565) ~[asv.class:?]
        at net.minecraft.world.World.func_180501_a(World.java:331) ~[aid.class:?]
        at net.minecraft.world.World.func_175656_a(World.java:408) ~[aid.class:?]
        at capsule.StructureSaver.removeTransferedBlockFromWorld(StructureSaver.java:240) ~[StructureSaver.class:?]
        at capsule.StructureSaver.store(StructureSaver.java:203) ~[StructureSaver.class:?]
        at capsule.items.CapsuleItem.captureContentIntoCapsule(CapsuleItem.java:593) ~[CapsuleItem.class:?]
        at capsule.items.CapsuleItem.onEntityItemUpdate(CapsuleItem.java:543) [CapsuleItem.class:?]
        at net.minecraft.entity.item.EntityItem.func_70071_h_(EntityItem.java:91) [yk.class:?]
        at capsule.enchantments.RecallEnchant.onWorldTickEvent(RecallEnchant.java:74) [RecallEnchant.class:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_365_RecallEnchant_onWorldTickEvent_WorldTickEvent.invoke(.dynamic) [?:?]
        at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:72) [ASMEventHandler.class:?]
        at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:168) [EventBus.class:?]
        at net.minecraftforge.fml.common.FMLCommonHandler.onPostWorldTick(FMLCommonHandler.java:269) [FMLCommonHandler.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:718) [MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:387) [ld.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:613) [MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:471) [MinecraftServer.class:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_91]
>

Comments (4)

  1. Samuel Bouchet repo owner

    Thank you for the report !

    I'll check out what's wrong, and either have a fix or report the issue to refinedstorage + add the block to ignored list.

  2. Samuel Bouchet repo owner

    Hi ! I've been away longer than I expected ! Just released new 1.10.2 / 1.11.2 / 1.12.2 update (https://imgur.com/gallery/RGQw1) and checked that it works fine with refined storage. Also i've migrated code and issues to github (https://github.com/Lythom/capsule). I still receive notifications for this issue tracker so use the one you are more confortable with. I now have a lot more time so I'll be around to support and release fixes for the next few months at least =)

  3. Log in to comment