mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-27 03:52:55 +00:00
Implemented textfield unfocused event
This commit is contained in:
1 parent
2874643c84
commit
791adfc1b4
9 files changed
+50
-13
No files matched your search
@@ -23,6 +23,15 @@ public class CustomGuiEvent extends Event {
|
||||
}
|
||||
}
|
||||
|
||||
public static class UnfocusedEvent extends CustomGuiEvent {
|
||||
public final int textfieldId;
|
||||
|
||||
public UnfocusedEvent(IPlayer player, ICustomGui gui, int textfieldId) {
|
||||
super(player, gui);
|
||||
this.textfieldId = textfieldId;
|
||||
}
|
||||
}
|
||||
|
||||
public static class CloseEvent extends CustomGuiEvent {
|
||||
public CloseEvent(IPlayer player, ICustomGui gui) {
|
||||
super(player, gui);
|
||||
|
||||
Reference in new issue
Block a user