Correct name. COrrect resit timers. We should listen onQuit first

This commit is contained in:
Shevchik 2013-09-02 09:39:05 +04:00
parent 30d8b724b9
commit fe81cd81e1
4 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ public class Chairs extends JavaPlugin {
{ {
prevarrow.remove(); prevarrow.remove();
} }
},40); },200);
} }
protected void ejectPlayer(final Player player) protected void ejectPlayer(final Player player)
{ {

View File

@ -54,7 +54,7 @@ public class EventListener implements Listener {
} }
@EventHandler(priority=EventPriority.MONITOR,ignoreCancelled=true) @EventHandler(priority=EventPriority.LOWEST)
public void onPlayerQuit(PlayerQuitEvent event) public void onPlayerQuit(PlayerQuitEvent event)
{ {
Player player = event.getPlayer(); Player player = event.getPlayer();
@ -296,7 +296,7 @@ public class EventListener implements Listener {
{ {
plugin.reSitPlayer(player); plugin.reSitPlayer(player);
} }
},1150,1150); },1000,1000);
plugin.sittask.put(player.getName(), task); plugin.sittask.put(player.getName(), task);
} }

View File

@ -5,7 +5,7 @@ website: http://dev.bukkit.org/bukkit-plugins/chairsreloaded/
authors: authors:
- spoothie - spoothie
- cnaude - cnaude
- Shevchik - _Shevchik_
depend: [ProtocolLib] depend: [ProtocolLib]
main: com.cnaude.chairs.Chairs main: com.cnaude.chairs.Chairs
commands: commands:

Binary file not shown.