Blood Magic

Blood Magic

90M Downloads

Crash with magnetism ritual with new forge

SixOneThree opened this issue ยท 6 comments

commented

Forge version: 10.12.1.1112
Minecraft Version: 1.7.2
Blood Magic Version: 1.0.1e

In forge 1111 LexManos made a change to OreDictionary.getOreID, now when trying to create a node in a jar when you right click the glass with a wand it crashes.

Build 1.7.2-10.12.1.1111:
LexManos:
Fix inverted parameters in OreDictionary.getOreID Closes #1123

java.lang.NullPointerException: Ticking block entity
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214)
at net.minecraftforge.oredict.OreDictionary.itemMatches(OreDictionary.java:410)
at net.minecraftforge.oredict.OreDictionary.getOreID(OreDictionary.java:297)
at WayofTime.alchemicalWizardry.common.rituals.RitualEffectMagnetic.performEffect(RitualEffectMagnetic.java:98)
at WayofTime.alchemicalWizardry.api.rituals.Rituals.performEffect(Rituals.java:227)
at WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone.performRitual(TEMasterStone.java:161)
at WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone.func_145845_h(TEMasterStone.java:156)
at net.minecraft.world.World.func_72939_s(World.java:1888)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:500)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:620)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:326)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:531)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:414)
at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:669)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- Head --
Stacktrace:
at net.minecraft.item.ItemStack.func_77960_j(ItemStack.java:214)
at net.minecraftforge.oredict.OreDictionary.itemMatches(OreDictionary.java:410)
at net.minecraftforge.oredict.OreDictionary.getOreID(OreDictionary.java:297)
at WayofTime.alchemicalWizardry.common.rituals.RitualEffectMagnetic.performEffect(RitualEffectMagnetic.java:98)
at WayofTime.alchemicalWizardry.api.rituals.Rituals.performEffect(Rituals.java:227)
at WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone.performRitual(TEMasterStone.java:161)
at WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone.func_145845_h(TEMasterStone.java:156)

-- Block entity being ticked --
Details:
Name: containerMasterStone // WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone
Block type: ID #464 (tile.blockMasterStone // WayofTime.alchemicalWizardry.common.block.BlockMasterStone)
Block data value: 0 / 0x0 / 0b0000
Block location: World: (11,75,140), Chunk: (at 11,4,12 in 0,8; contains blocks 0,0,128 to 15,255,143), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
Actual block type: ID #464 (tile.blockMasterStone // WayofTime.alchemicalWizardry.common.block.BlockMasterStone)
Actual block data value: 0 / 0x0 / 0b0000
Stacktrace:
at net.minecraft.world.World.func_72939_s(World.java:1888)
at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:500)

commented

I have the exact same error please take a look at it.

commented

Was a known bug with Forge, just talked to CPW about it. Update your forge and try again. If it doesn't work, let me know!

commented

it still crashes here with forge: 10.12.2.1128.

commented

Will test and check with cpw.

commented

this is fixed you can close this.

commented

Works now