Correct name. COrrect resit timers. We should listen onQuit first
This commit is contained in:
parent
30d8b724b9
commit
fe81cd81e1
@ -127,7 +127,7 @@ public class Chairs extends JavaPlugin {
|
||||
{
|
||||
prevarrow.remove();
|
||||
}
|
||||
},40);
|
||||
},200);
|
||||
}
|
||||
protected void ejectPlayer(final Player player)
|
||||
{
|
||||
|
@ -54,7 +54,7 @@ public class EventListener implements Listener {
|
||||
}
|
||||
|
||||
|
||||
@EventHandler(priority=EventPriority.MONITOR,ignoreCancelled=true)
|
||||
@EventHandler(priority=EventPriority.LOWEST)
|
||||
public void onPlayerQuit(PlayerQuitEvent event)
|
||||
{
|
||||
Player player = event.getPlayer();
|
||||
@ -296,7 +296,7 @@ public class EventListener implements Listener {
|
||||
{
|
||||
plugin.reSitPlayer(player);
|
||||
}
|
||||
},1150,1150);
|
||||
},1000,1000);
|
||||
plugin.sittask.put(player.getName(), task);
|
||||
}
|
||||
|
||||
|
@ -5,7 +5,7 @@ website: http://dev.bukkit.org/bukkit-plugins/chairsreloaded/
|
||||
authors:
|
||||
- spoothie
|
||||
- cnaude
|
||||
- Shevchik
|
||||
- _Shevchik_
|
||||
depend: [ProtocolLib]
|
||||
main: com.cnaude.chairs.Chairs
|
||||
commands:
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user