summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/bukkit
diff options
context:
space:
mode:
authorAndrew Ardill <andrew.ardill@gmail.com>2011-04-14 12:58:04 +1000
committerAndrew Ardill <andrew.ardill@gmail.com>2011-04-14 12:58:04 +1000
commitdc6c906e1af84486b1301e788c5b195595119241 (patch)
tree2306c1452b7fb80e33503a73030ecbcb7e7d0d97 /src/main/java/org/bukkit
parent2c1f336e97e51c96c26803064eee8a32dd55cae2 (diff)
downloadcraftbukkit-dc6c906e1af84486b1301e788c5b195595119241.tar
craftbukkit-dc6c906e1af84486b1301e788c5b195595119241.tar.gz
craftbukkit-dc6c906e1af84486b1301e788c5b195595119241.tar.lz
craftbukkit-dc6c906e1af84486b1301e788c5b195595119241.tar.xz
craftbukkit-dc6c906e1af84486b1301e788c5b195595119241.zip
The @Override annotation should only be used when overriding a method.
Not when implementing an interface.
Diffstat (limited to 'src/main/java/org/bukkit')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java2
1 files changed, 0 insertions, 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 011cf748..365d9ad1 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;
}