mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 12:09:27 +02:00
fixed NPE issue
This commit is contained in:
@@ -129,7 +129,7 @@ public class HudUi {
|
||||
}
|
||||
|
||||
if((input.keyDown(KeyCode.shiftRight) || input.keyDown(KeyCode.shiftLeft))){
|
||||
if(input.keyTap(KeyCode.r)) lockButton.change();
|
||||
if(input.keyTap(KeyCode.r) && lockButton != null) lockButton.change();
|
||||
}
|
||||
|
||||
if(settings.getBool("autoShooting")) {
|
||||
|
||||
Reference in New Issue
Block a user