SPIGOT-713: APIs to manipulate Entity's silent status.

Dieser Commit ist enthalten in:
Sansko1337 2016-05-27 17:34:11 +02:00 committet von md_5
Ursprung 5ff377a9b2
Commit dd0e968c6a

Datei anzeigen

@ -563,6 +563,16 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity {
return getHandle().isInvulnerable(DamageSource.GENERIC);
}
@Override
public boolean isSilent() {
return getHandle().ad(); // PAIL: Rename isSilent
}
@Override
public void setSilent(boolean flag) {
getHandle().c(flag); // PAIL: Rename setSilent
}
private static PermissibleBase getPermissibleBase() {
if (perm == null) {
perm = new PermissibleBase(new ServerOperator() {