From 5382906706f0fc2f64bf1831492569395bf29141 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Thu, 14 Apr 2011 12:58:04 +1000 Subject: [PATCH] The @Override annotation should only be used when overriding a method. Not when implementing an interface. By: Andrew Ardill --- .../java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 011cf74817..365d9ad1d9 100644 --- a/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/paper-server/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -48,12 +48,10 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { return "CraftHumanEntity{" + "id=" + getEntityId() + "name=" + getName() + '}'; } - @Override public boolean isSleeping() { return getHandle().sleeping; } - @Override public int getSleepTicks() { return getHandle().sleepTicks; }