@@ -1,7 +1,11 @@
|
||||
--- a/net/minecraft/server/PathfinderGoalHorseTrap.java
|
||||
+++ b/net/minecraft/server/PathfinderGoalHorseTrap.java
|
||||
@@ -21,13 +21,14 @@
|
||||
this.a.world.strikeLightning(new EntityLightning(this.a.world, this.a.locX, this.a.locY, this.a.locZ, true));
|
||||
@@ -18,16 +18,17 @@
|
||||
this.a.s(false);
|
||||
this.a.setTamed(true);
|
||||
this.a.setAgeRaw(0);
|
||||
- this.a.world.strikeLightning(new EntityLightning(this.a.world, this.a.locX, this.a.locY, this.a.locZ, true));
|
||||
+ ((WorldServer) this.a.world).strikeLightning(new EntityLightning(this.a.world, this.a.locX, this.a.locY, this.a.locZ, true), org.bukkit.event.weather.LightningStrikeEvent.Cause.TRAP); // CraftBukkit
|
||||
EntitySkeleton entityskeleton = this.a(difficultydamagescaler, this.a);
|
||||
|
||||
- entityskeleton.startRiding(this.a);
|
||||
|
||||
Reference in New Issue
Block a user