mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-26 06:18:00 +01:00
Use mojang's utility method instead of our own
This commit is contained in:
parent
12ebe36662
commit
4aaadd1716
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ public class GuiSkins extends GameGui implements ISkinUploadHandler {
|
||||||
private final Edge sneakKey = new Edge(this::sneakToggled) {
|
private final Edge sneakKey = new Edge(this::sneakToggled) {
|
||||||
@Override
|
@Override
|
||||||
protected boolean nextState() {
|
protected boolean nextState() {
|
||||||
return Keyboard.isKeyDown(Keyboard.KEY_LSHIFT) || Keyboard.isKeyDown(Keyboard.KEY_RSHIFT);
|
return GuiScreen.isShiftKeyDown();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue