13
0
Dieser Commit ist enthalten in:
Lixfel 2020-11-06 12:20:45 +01:00
Ursprung 3939a417d3
Commit e23acca582

Datei anzeigen

@ -107,7 +107,7 @@ public abstract class REntity {
DataWatcherObject<Byte> dwo = new DataWatcherObject<>(0, DataWatcherRegistry.a);
dataWatcher.register(dwo, sneaking ? (byte)0x02 : (byte)0x40);
dataWatcher.markDirty(dwo);
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), dataWatcher, true);
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), dataWatcher, false);
for(Player player : Bukkit.getOnlinePlayers()){
((CraftPlayer)player).getHandle().playerConnection.sendPacket(packet);