unsneak player after stopped sitting
This commit is contained in:
parent
13fe6859f8
commit
0f02344bba
@ -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.
Loading…
Reference in New Issue
Block a user