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

Game crashes when opening Controls GUI #2

Closed
ephys opened this issue Feb 4, 2018 · 8 comments
Closed

Game crashes when opening Controls GUI #2

ephys opened this issue Feb 4, 2018 · 8 comments
Labels
Bug Something isn't working Crash Causing crash

Comments

@ephys
Copy link

ephys commented Feb 4, 2018

I'm getting a weird crash that is really hard to track down. It doesn't mention this mod specifically but only occur when this mod is loaded.

Here is the crash report: https://gist.github.com/Ephys/597a64c9b14761a6c67b0a9996c3c51e

I think it may be related to StrikerRockers-Mods/VanillaTweaks#19 -- I had the exact same issue with that mod alone too.

@JackyyTV
Copy link
Owner

JackyyTV commented Feb 4, 2018

That's very strange. Does that happen every time or just at occasions?

@ephys
Copy link
Author

ephys commented Feb 4, 2018

Happened every time as soon as the GUI was opened

Edit: This might be interesting, I disabled infinityArmorNoClip in the config. I'll try with it on

@ephys
Copy link
Author

ephys commented Feb 4, 2018

Definitely interesting, the crash only happens if infinityArmorNoClip is false. Maybe creating the keybind but not registering it is the source of the crash?

@JackyyTV
Copy link
Owner

JackyyTV commented Feb 4, 2018

Might be something to do with the keybind, I think I should always register the keybind but only disable No Clip mode for ingame.

@ephys
Copy link
Author

ephys commented Feb 4, 2018

Or only instanciate the KeyBind if it's going to be registered. It doesn't look like it's being referenced from anywhere in the code so it shouldn't be an issue

@JackyyTV
Copy link
Owner

JackyyTV commented Feb 4, 2018

I am actually.

@SubscribeEvent @SideOnly(Side.CLIENT)
public void onKeyInput(InputEvent.KeyInputEvent event) {
if (Keys.NOCLIP.isPressed()) {
PacketHandler.INSTANCE.sendToServer(new PacketToggleNoClip());
}
}

But it's fine, that can be fixed quite easily.

@JackyyTV JackyyTV added Bug Something isn't working Crash Causing crash labels Feb 4, 2018
@JackyyTV
Copy link
Owner

JackyyTV commented Feb 4, 2018

New version coming out in a few hours, hopefully should fix your problems.
image

@ephys
Copy link
Author

ephys commented Feb 5, 2018

Thank youu!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Crash Causing crash
Projects
None yet
Development

No branches or pull requests

2 participants