13
0
Dieser Commit ist enthalten in:
Lixfel 2020-11-03 17:47:26 +01:00
Ursprung 8bb5a67cf7
Commit 4cb3d0718e

Datei anzeigen

@ -101,7 +101,7 @@ public abstract class REntity {
public void sneak(boolean sneaking) {
entity.setSneaking(sneaking);
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), entity.getDataWatcher(), true);
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), entity.getDataWatcher(), false);
for(Player player : Bukkit.getOnlinePlayers()){
PlayerConnection connection = ((CraftPlayer)player).getHandle().playerConnection;
connection.sendPacket(packet);