unsneak player after stopped sitting

This commit is contained in:
Shevchik 2013-09-04 16:01:06 +04:00
parent 13fe6859f8
commit 0f02344bba
2 changed files with 1 additions and 0 deletions

View File

@ -164,6 +164,7 @@ public class Chairs extends JavaPlugin {
sit.remove(player.getName());
Bukkit.getScheduler().cancelTask(sittask.get(player.getName()));
sittask.remove(player.getName());
player.setSneaking(false);
if (notifyplayer && !msgStanding.isEmpty()) {
player.sendMessage(msgStanding);
}

Binary file not shown.