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