Пример #1
0
 @Override
 public void onPlayerChat(PlayerChatEvent event) {
   /* Call listeners */
   List<Listener> ll = event_handlers.get(event.getType());
   if (ll != null) {
     for (Listener l : ll) {
       ((PlayerListener) l).onPlayerChat(event);
     }
   }
 }