diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java index e535142729..87484b92d2 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEntity.java @@ -584,6 +584,16 @@ public abstract class CraftEntity implements org.bukkit.entity.Entity { getHandle().setNoGravity(!gravity); } + @Override + public int getPortalCooldown() { + return getHandle().portalCooldown; + } + + @Override + public void setPortalCooldown(int cooldown) { + getHandle().portalCooldown = cooldown; + } + private static PermissibleBase getPermissibleBase() { if (perm == null) { perm = new PermissibleBase(new ServerOperator() {