mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Fixed possible NPE
This commit is contained in:
1 parent
345704f8dd
commit
5f725cb971
1 file changed
+1
-1
@@ -104,7 +104,7 @@ public class ArmorControls {
|
||||
|
||||
private void checkKeys() {
|
||||
for (KeyBinding key : this.keys) {
|
||||
if (this.isKeyActive(key.getKeyCode())) {
|
||||
if (key != null && this.isKeyActive(key.getKeyCode())) {
|
||||
this.keyPressed(key);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user