ChaoticTrials / UtilitiX

Nice to have items, blocks, and other features.
https://modrinth.com/mod/utilitix
Apache License 2.0
7 stars 3 forks source link

Crash with Macaw's Doors - wooden portcullis #35

Closed sketchmacaw closed 1 year ago

sketchmacaw commented 1 year ago

Minecraft version

1.19.2

LibX version

1.19.2-4.2.8

UtilitiX version

1.19.2-0.7.6

Forge version

43.2.6

The latest.log file

https://pastebin.com/uFhnn4Ky

Issue description

The error message suggests that there is a problem with the code in the Minecraft mod "UtilitiX". More specifically, the error occurs when trying to access the property "hinge" of a block with the name "wooden_portcullis". The error message states that this property does not exist in the block.

The wooden_portcullis doesn't have the property hinge as seen here in the GarageDoor class which the portcullis uses: https://github.com/sketchmacaw/MacawsDoors/blob/main/1.19.2/src/main/java/com/mcwdoors/kikoz/objects/GarageDoor.java

Steps to reproduce

  1. Place down a Wooden Portcullis from Macaw's Doors
  2. Place another one on top of the first one
  3. Crash

Other information

No response

sketchmacaw commented 1 year ago

Yeah, my bad. It looks like this is caused because the wooden portcullis is in the #wooden_doors tag. Issue on my side