mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 14:08:57 +01:00
The @Override annotation should only be used when overriding a method.
Not when implementing an interface.
This commit is contained in:
parent
2c1f336e97
commit
dc6c906e1a
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue