mirror of
https://github.com/correl/mage.git
synced 2024-12-24 03:00:14 +00:00
Displaying tray message on player join and quit events
This commit is contained in:
parent
c5861a3c2e
commit
8598f9ead1
1 changed files with 6 additions and 0 deletions
|
@ -157,4 +157,10 @@ public class MageTray {
|
|||
state = 3;
|
||||
}
|
||||
}
|
||||
|
||||
public void displayMessage(String message) {
|
||||
if (trayIcon != null) {
|
||||
trayIcon.displayMessage("Mage", message, TrayIcon.MessageType.INFO);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue