forked from External/mage
* Some formatting. Some cleanup for server memory handling.
This commit is contained in:
parent
2b2594d993
commit
c7289a3810
12 changed files with 108 additions and 55 deletions
|
|
@ -50,6 +50,11 @@ public class PlayerQueryEventSource implements EventSource<PlayerQueryEvent>, Se
|
|||
dispatcher.addListener(listener);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void removeAllListener() {
|
||||
dispatcher.removeAllListener();
|
||||
}
|
||||
|
||||
public void ask(UUID playerId, String message) {
|
||||
dispatcher.fireEvent(PlayerQueryEvent.askEvent(playerId, message));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue