mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-13 17:04:24 +00:00
Merge pull request #1203 from TheTemportalist/master
Fixed possible NPE
This commit is contained in:
commit
d4d859b71b
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