13
0
Dieser Commit ist enthalten in:
Lixfel 2020-11-06 11:34:11 +01:00
Ursprung 1158382c0f
Commit 7571158e82

Datei anzeigen

@ -103,7 +103,7 @@ public abstract class REntity {
entity.setSneaking(sneaking);
DataWatcher dataWatcher = new DataWatcher(entity);
//dataWatcher.register(new DataWatcherObject<>(0, DataWatcherRegistry.a), sneaking ? (byte)0x02 : (byte)0x00);
dataWatcher.register(new DataWatcherObject<>(0, DataWatcherRegistry.a), sneaking ? (byte)0x02 : (byte)0x00);
dataWatcher.register(new DataWatcherObject<>(6, DataWatcherRegistry.s), sneaking ? EntityPose.CROUCHING : EntityPose.STANDING);
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), dataWatcher, false);