aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/torui/coflsky/WSCommandHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/de/torui/coflsky/WSCommandHandler.java')
-rw-r--r--src/main/java/de/torui/coflsky/WSCommandHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/de/torui/coflsky/WSCommandHandler.java b/src/main/java/de/torui/coflsky/WSCommandHandler.java
index ca583a2..ef15381 100644
--- a/src/main/java/de/torui/coflsky/WSCommandHandler.java
+++ b/src/main/java/de/torui/coflsky/WSCommandHandler.java
@@ -68,8 +68,8 @@ public class WSCommandHandler {
ChatMessage(showCmd);
flipHandler.fds.Insert(new de.torui.coflsky.FlipHandler.Flip(cmd.getData().Id, cmd.getData().Worth));
- //just to be safe emit a event
- CoflSky.Events.onEvent(null);
+ // trigger the keyevent to execute the event handler
+ CoflSky.Events.onKeyEvent(null);
}
private static void PlaySound(Command<SoundData> cmd, Entity sender) {