Test sneaking
Dieser Commit ist enthalten in:
Ursprung
f781bcdfe6
Commit
33af86b546
@ -101,12 +101,11 @@ public abstract class REntity {
|
||||
|
||||
public void sneak(boolean sneaking) {
|
||||
entity.setSneaking(sneaking);
|
||||
// PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(1, entity.getDataWatcher(), sneaking);
|
||||
/*PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(7, entity.getDataWatcher(), sneaking);
|
||||
PacketPlayOutEntityMetadata packet = new PacketPlayOutEntityMetadata(entity.getId(), entity.getDataWatcher(), sneaking);
|
||||
for(Player player : Bukkit.getOnlinePlayers()){
|
||||
PlayerConnection connection = ((CraftPlayer)player).getHandle().playerConnection;
|
||||
connection.sendPacket(packet);
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
public void animation(byte animation) {
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren