From dc6c906e1af84486b1301e788c5b195595119241 Mon Sep 17 00:00:00 2001 From: Andrew Ardill 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. --- .../java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index 011cf74817..365d9ad1d9 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/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; }