Crashes when taking damage - rumble issue when no controller is present.
IMB11 opened this issue ยท 3 comments
Describe the bug
The game crashes when the player takes damage and no controller is plugged in.
To Reproduce
Steps to reproduce the behavior:
- Take damage.
- See error/crash
Expected behavior
No crash.
Minecraft Info (please complete the following information):
java.lang.NullPointerException: Cannot invoke "dev.isxander.controlify.rumble.RumbleManager.play(dev.isxander.controlify.rumble.RumbleEffect)" because the return value of "dev.isxander.controlify.controller.Controller.rumbleManager()" is null