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