Displaying tray message on player join and quit events

This commit is contained in:
magenoxx 2012-07-17 14:18:38 +04:00
parent c5861a3c2e
commit 8598f9ead1

View file

@ -157,4 +157,10 @@ public class MageTray {
state = 3;
}
}
public void displayMessage(String message) {
if (trayIcon != null) {
trayIcon.displayMessage("Mage", message, TrayIcon.MessageType.INFO);
}
}
}