mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Fixed compile errors
By: Dinnerbone <dinnerbone@dinnerbone.com>
This commit is contained in:
parent
46bdde7180
commit
9b1f8245df
2 changed files with 0 additions and 3 deletions
|
@ -45,7 +45,6 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||||
return "CraftLivingEntity{" + "id=" + getEntityID() + '}';
|
return "CraftLivingEntity{" + "id=" + getEntityID() + '}';
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Egg throwEgg() {
|
public Egg throwEgg() {
|
||||||
net.minecraft.server.World world = ((CraftWorld)getWorld()).getHandle();
|
net.minecraft.server.World world = ((CraftWorld)getWorld()).getHandle();
|
||||||
EntityEgg egg = new EntityEgg(world, entity);
|
EntityEgg egg = new EntityEgg(world, entity);
|
||||||
|
@ -53,7 +52,6 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity {
|
||||||
return new CraftEgg(server, egg);
|
return new CraftEgg(server, egg);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Snowball throwSnowball() {
|
public Snowball throwSnowball() {
|
||||||
net.minecraft.server.World world = ((CraftWorld)getWorld()).getHandle();
|
net.minecraft.server.World world = ((CraftWorld)getWorld()).getHandle();
|
||||||
EntitySnowball snowball = new EntitySnowball(world, entity);
|
EntitySnowball snowball = new EntitySnowball(world, entity);
|
||||||
|
|
|
@ -38,7 +38,6 @@ public class CraftMinecart extends CraftVehicle implements Minecart {
|
||||||
minecart = entity;
|
minecart = entity;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
|
||||||
public Vector getVelocity() {
|
public Vector getVelocity() {
|
||||||
return new Vector(minecart.s, minecart.t, minecart.u);
|
return new Vector(minecart.s, minecart.t, minecart.u);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue