cubex2 / customstuff4

A Minecraft mod for adding content
https://minecraft.curseforge.com/projects/custom-stuff-4
GNU General Public License v3.0
25 stars 14 forks source link

[Bug] v0.3.3 Crash when trying to create slab subtypes (again) #13

Closed ghost closed 7 years ago

ghost commented 7 years ago

The same crash happens with the latest version, any ideas why?

Crash Report: https://pastebin.com/07s51V38

Json: https://pastebin.com/HjyxX6Bg

I even tried deleting and reloading the custom_assets.class file, but that didn't work.

cubex2 commented 7 years ago

This is not the cause of the crash but the entry for the slab should look like this:

{
  "id": "blocka_slab",
  "creativeTab": "materials",
  "material": "ground",
  "itemModel": "custom_assets:blocka_slab",
  "drop": "minecraft:air",
  "doubleSlab": {
    "block": "custom_assets:blocka"
  }
}

I've uploaded a fix for this.

ghost commented 7 years ago

@cubex2 I just tried v0.3.4 and this time the crash has changed.

Crash report: https://pastebin.com/zvJU7K4A

Json: https://pastebin.com/qMEMzq3E

cubex2 commented 7 years ago

Your slab still uses the doubleSlab attribute wrong. You have a whole new slab with just the doubleSlab attribute and no id which causes the crash.