mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 13:24:17 -07:00
Fixed compile errors
This commit is contained in:
@@ -45,7 +45,6 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||
return "CraftLivingEntity{" + "id=" + getEntityID() + '}';
|
||||
}
|
||||
|
||||
@Override
|
||||
public Egg throwEgg() {
|
||||
net.minecraft.server.World world = ((CraftWorld)getWorld()).getHandle();
|
||||
EntityEgg egg = new EntityEgg(world, entity);
|
||||
@@ -53,7 +52,6 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||
return new CraftEgg(server, egg);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Snowball throwSnowball() {
|
||||
net.minecraft.server.World world = ((CraftWorld)getWorld()).getHandle();
|
||||
EntitySnowball snowball = new EntitySnowball(world, entity);
|
||||
|
Reference in New Issue
Block a user