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();
|
prevarrow.remove();
|
||||||
}
|
}
|
||||||
},40);
|
},200);
|
||||||
}
|
}
|
||||||
protected void ejectPlayer(final Player player)
|
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)
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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.
Loading…
Reference in New Issue
Block a user