summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server/EntityLightning.java
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2013-03-13 17:33:27 -0500
committerTravis Watkins <amaranth@ubuntu.com>2013-03-15 13:28:59 -0500
commit83d29e461c85733f0113b6eb19db6e3b42da2949 (patch)
treeb3063a1c28f478ab368d5ba3413a842def68c28f /src/main/java/net/minecraft/server/EntityLightning.java
parentba6e4c38cfa98ad291974195cc46d70a4f138ac1 (diff)
downloadcraftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar
craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.gz
craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.lz
craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.tar.xz
craftbukkit-83d29e461c85733f0113b6eb19db6e3b42da2949.zip
Update CraftBukkit to Minecraft 1.5
Diffstat (limited to 'src/main/java/net/minecraft/server/EntityLightning.java')
-rw-r--r--src/main/java/net/minecraft/server/EntityLightning.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/main/java/net/minecraft/server/EntityLightning.java b/src/main/java/net/minecraft/server/EntityLightning.java
index 606ae347..638615d4 100644
--- a/src/main/java/net/minecraft/server/EntityLightning.java
+++ b/src/main/java/net/minecraft/server/EntityLightning.java
@@ -45,7 +45,7 @@ public class EntityLightning extends EntityWeather {
world.getServer().getPluginManager().callEvent(event);
if (!event.isCancelled()) {
- world.setTypeId(i, j, k, Block.FIRE.id);
+ world.setTypeIdUpdate(i, j, k, Block.FIRE.id);
}
// CraftBukkit end
}
@@ -61,7 +61,7 @@ public class EntityLightning extends EntityWeather {
world.getServer().getPluginManager().callEvent(event);
if (!event.isCancelled()) {
- world.setTypeId(j, k, l, Block.FIRE.id);
+ world.setTypeIdUpdate(j, k, l, Block.FIRE.id);
}
// CraftBukkit end
}
@@ -69,8 +69,8 @@ public class EntityLightning extends EntityWeather {
}
}
- public void j_() {
- super.j_();
+ public void l_() {
+ super.l_();
if (this.lifeTicks == 2) {
this.world.makeSound(this.locX, this.locY, this.locZ, "ambient.weather.thunder", 10000.0F, 0.8F + this.random.nextFloat() * 0.2F);
this.world.makeSound(this.locX, this.locY, this.locZ, "random.explode", 2.0F, 0.5F + this.random.nextFloat() * 0.2F);
@@ -96,7 +96,7 @@ public class EntityLightning extends EntityWeather {
this.world.getServer().getPluginManager().callEvent(event);
if (!event.isCancelled()) {
- this.world.setTypeId(i, j, k, Block.FIRE.id);
+ this.world.setTypeIdUpdate(i, j, k, Block.FIRE.id);
}
// CraftBukkit end
}