Ooops
This commit is contained in:
parent
4710e5b10d
commit
6332a9b4ba
@ -40,7 +40,6 @@ public class TryUnsitEventListener implements Listener {
|
||||
if (plugin.sit.containsKey(player.getName()))
|
||||
{
|
||||
plugin.unSitPlayer(player, false, false);
|
||||
}
|
||||
event.setCancelled(true);
|
||||
final Location loc = event.getTo();
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(plugin, new Runnable()
|
||||
@ -52,6 +51,7 @@ public class TryUnsitEventListener implements Listener {
|
||||
}
|
||||
},1);
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority=EventPriority.LOWEST)
|
||||
public void onPlayerDeath(PlayerDeathEvent event)
|
||||
|
Loading…
Reference in New Issue
Block a user