diff --git a/src/com/cnaude/chairs/Chairs.java b/src/com/cnaude/chairs/Chairs.java index 025301e..ab060ea 100644 --- a/src/com/cnaude/chairs/Chairs.java +++ b/src/com/cnaude/chairs/Chairs.java @@ -144,6 +144,7 @@ public class Chairs extends JavaPlugin { public void run() { player.teleport(tploc); + player.setSneaking(false); } },1); } @@ -164,7 +165,6 @@ 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); } diff --git a/target/Chairs.jar b/target/Chairs.jar index 5a49a24..04eb84b 100644 Binary files a/target/Chairs.jar and b/target/Chairs.jar differ