13
0
Dieser Commit ist enthalten in:
Lixfel 2020-11-03 17:45:11 +01:00
Ursprung 33af86b546
Commit 8bb5a67cf7

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(), sneaking);
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), entity.getDataWatcher(), true);
for(Player player : Bukkit.getOnlinePlayers()){
PlayerConnection connection = ((CraftPlayer)player).getHandle().playerConnection;
connection.sendPacket(packet);