mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-20 22:42:19 +00:00
Improved KeyPreset.setDown logic
This commit is contained in:
1 parent
cb09deb495
commit
d52e82bb5b
2 files changed
+15
-11
No files matched your search
@@ -20,4 +20,5 @@ public class KeyEvent {
|
||||
public boolean isHold() { return is(KeyPreset.PressType.HOLD); }
|
||||
public boolean isRelease() { return is(KeyPreset.PressType.RELEASE); }
|
||||
public boolean isSinglePress() { return is(KeyPreset.PressType.SINGLE_PRESS); }
|
||||
public boolean isPressRelease() { return is(KeyPreset.PressType.PRESS_RELEASE); }
|
||||
}
|
||||
Reference in new issue
Block a user