Remove empty event listener, fix priority

This commit is contained in:
Shevchik 2013-12-14 14:38:28 +04:00
parent 17d2554649
commit 81b09d3845

View File

@ -31,12 +31,6 @@ public class EventListener implements Listener {
this.ignoreList = ignoreList;
}
@EventHandler(priority=EventPriority.LOWEST,ignoreCancelled=true)
public void onJoin(PlayerJoinEvent e)
{
}
@EventHandler(priority=EventPriority.LOWEST)
public void onPlayerQuit(PlayerQuitEvent event)
{
@ -47,7 +41,7 @@ public class EventListener implements Listener {
}
}
@EventHandler
@EventHandler(priority=EventPriority.LOWEST)
public void onExitVehicle(VehicleExitEvent e)
{
if (e.getVehicle().getPassenger() instanceof Player)