Test sneaking
Dieser Commit ist enthalten in:
Ursprung
3939a417d3
Commit
e23acca582
@ -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);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren