Test sneaking
Dieser Commit ist enthalten in:
Ursprung
bd9784b4a5
Commit
2b2a86deb8
@ -101,8 +101,7 @@ public abstract class REntity {
|
||||
|
||||
public void sneak(boolean sneaking) {
|
||||
entity.setSneaking(sneaking);
|
||||
entity.getDataWatcher().set(new DataWatcherObject<>(0, DataWatcherRegistry.a), (byte)0x02);
|
||||
entity.getDataWatcher().markDirty(new DataWatcherObject<>(0, DataWatcherRegistry.a));
|
||||
entity.getDataWatcher().set(new DataWatcherObject<Byte>(0, DataWatcherRegistry.a), (byte)0x02);
|
||||
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), entity.getDataWatcher(), false);
|
||||
|
||||
for(Player player : Bukkit.getOnlinePlayers()){
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren