Remove empty event listener, fix priority
This commit is contained in:
parent
17d2554649
commit
81b09d3845
@ -31,12 +31,6 @@ public class EventListener implements Listener {
|
|||||||
this.ignoreList = ignoreList;
|
this.ignoreList = ignoreList;
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler(priority=EventPriority.LOWEST,ignoreCancelled=true)
|
|
||||||
public void onJoin(PlayerJoinEvent e)
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@EventHandler(priority=EventPriority.LOWEST)
|
@EventHandler(priority=EventPriority.LOWEST)
|
||||||
public void onPlayerQuit(PlayerQuitEvent event)
|
public void onPlayerQuit(PlayerQuitEvent event)
|
||||||
{
|
{
|
||||||
@ -47,7 +41,7 @@ public class EventListener implements Listener {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@EventHandler
|
@EventHandler(priority=EventPriority.LOWEST)
|
||||||
public void onExitVehicle(VehicleExitEvent e)
|
public void onExitVehicle(VehicleExitEvent e)
|
||||||
{
|
{
|
||||||
if (e.getVehicle().getPassenger() instanceof Player)
|
if (e.getVehicle().getPassenger() instanceof Player)
|
||||||
|
Loading…
Reference in New Issue
Block a user