Test sneaking
Dieser Commit ist enthalten in:
Ursprung
7bf4865f88
Commit
9d89c169d1
@ -110,8 +110,8 @@ public abstract class REntity {
|
||||
entity.setSneaking(sneaking);
|
||||
PacketContainer packet = ProtocolLibrary.getProtocolManager().createPacket(PacketType.Play.Server.ENTITY_METADATA);
|
||||
packet.getIntegers().write(0, entity.getId());
|
||||
packet.getWatchableCollectionModifier().write(0, Util.asList(new WrappedWatchableObject(0, (byte)0x02), new WrappedWatchableObject(0xff, null)));
|
||||
|
||||
packet.getWatchableCollectionModifier().write(0, Util.asList(new WrappedWatchableObject(0, (byte)0x02)));
|
||||
System.out.println(packet);
|
||||
for(Player player : Bukkit.getOnlinePlayers()){
|
||||
try {
|
||||
ProtocolLibrary.getProtocolManager().sendServerPacket(player, packet);
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren