Archiviert
13
0

The @Override annotation should only be used when overriding a method.

Not when implementing an interface.
Dieser Commit ist enthalten in:
Andrew Ardill 2011-04-14 12:58:04 +10:00
Ursprung 2c1f336e97
Commit dc6c906e1a

Datei anzeigen

@ -48,12 +48,10 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
return "CraftHumanEntity{" + "id=" + getEntityId() + "name=" + getName() + '}'; return "CraftHumanEntity{" + "id=" + getEntityId() + "name=" + getName() + '}';
} }
@Override
public boolean isSleeping() { public boolean isSleeping() {
return getHandle().sleeping; return getHandle().sleeping;
} }
@Override
public int getSleepTicks() { public int getSleepTicks() {
return getHandle().sleepTicks; return getHandle().sleepTicks;
} }