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