13
0
Dieser Commit ist enthalten in:
Lixfel 2020-11-06 11:22:32 +01:00
Ursprung 96bde868d7
Commit ee46496ca2

Datei anzeigen

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