summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityFireball.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityFireball.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityFireball.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/main/java/net/minecraft/server/EntityFireball.java b/src/main/java/net/minecraft/server/EntityFireball.java
index 5c1b3705..d9727151 100644
--- a/src/main/java/net/minecraft/server/EntityFireball.java
+++ b/src/main/java/net/minecraft/server/EntityFireball.java
@@ -28,7 +28,7 @@ public class EntityFireball extends Entity {
public EntityFireball(World world) {
super(world);
- this.a(1.0F, 1.0F);
+ this.b(1.0F, 1.0F);
}
protected void a() {}
@@ -36,7 +36,7 @@ public class EntityFireball extends Entity {
public EntityFireball(World world, EntityLiving entityliving, double d0, double d1, double d2) {
super(world);
this.j = entityliving;
- this.a(1.0F, 1.0F);
+ this.b(1.0F, 1.0F);
this.c(entityliving.locX, entityliving.locY, entityliving.locZ, entityliving.yaw, entityliving.pitch);
this.a(this.locX, this.locY, this.locZ);
this.height = 0.0F;
@@ -64,7 +64,7 @@ public class EntityFireball extends Entity {
if (i == this.h) {
++this.k;
if (this.k == 1200) {
- this.C();
+ this.D();
}
return;
@@ -155,7 +155,7 @@ public class EntityFireball extends Entity {
if (!event.isCancelled()) {
// give 'this' instead of (Entity) null so we know what causes the damage
this.world.a(this, this.locX, this.locY, this.locZ, event.getRadius(), event.getFire());
- this.C();
+ this.D();
}
// CraftBukkit end
}
@@ -230,9 +230,9 @@ public class EntityFireball extends Entity {
}
public boolean a(Entity entity, int i) {
- this.R();
+ this.W();
if (entity != null) {
- Vec3D vec3d = entity.N();
+ Vec3D vec3d = entity.S();
if (vec3d != null) {
this.motX = vec3d.a;