Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Right-clicking on certain ProjectRed wires with a lever crashes the game #124

Open
LoganDark opened this issue Dec 15, 2021 · 0 comments
Open

Comments

@LoganDark
Copy link

I have this screenshot taken when I misclicked with a lever and it crashed my game:

image

The crash report says it's your fault:

---- Minecraft Crash Report ----
// Don't do that.

Time: 12/15/21 2:48 PM
Description: Unexpected error

java.lang.NullPointerException: Unexpected error
    at net.minecraft.block.HorizontalFaceBlock.func_196365_i(SourceFile:60) ~[?:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
    at codechicken.multipart.minecraft.LeverPart.getSide(LeverPart.java:45) ~[cb_multipart:1.16.5-3.0.3.122] {re:classloading}
    at codechicken.multipart.minecraft.McSidedStatePart.getSlotMask(McSidedStatePart.java:47) ~[cb_multipart:1.16.5-3.0.3.122] {re:classloading}
    at codechicken.multipart.trait.TSlottedTile.canAddPart$(TSlottedTile.java:52) ~[?:?] {re:codechicken.mixin.forge.ForgeMixinBackend}
    at TileMultiPart_cmp$$1.canAddPart(Unknown Source) ~[?:?] {}
    at codechicken.multipart.handler.PlacementConversionHandler.place(PlacementConversionHandler.java:73) ~[cb_multipart:1.16.5-3.0.3.122] {re:classloading}
    at codechicken.multipart.handler.PlacementConversionHandler.onRightClickBlock(PlacementConversionHandler.java:50) ~[cb_multipart:1.16.5-3.0.3.122] {re:classloading}

Looks like for some reason CBMultipart can't calculate the side that I'm trying to place the lever on, so the game crashes.

Full crash report here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant