@@ -1,7 +1,8 @@
|
||||
--- a/net/minecraft/server/EntityLargeFireball.java
|
||||
+++ b/net/minecraft/server/EntityLargeFireball.java
|
||||
@@ -1,15 +1,19 @@
|
||||
package net.minecraft.server;
|
||||
--- a/net/minecraft/world/entity/projectile/EntityLargeFireball.java
|
||||
+++ b/net/minecraft/world/entity/projectile/EntityLargeFireball.java
|
||||
@@ -11,16 +11,20 @@
|
||||
import net.minecraft.world.phys.MovingObjectPosition;
|
||||
import net.minecraft.world.phys.MovingObjectPositionEntity;
|
||||
|
||||
+import org.bukkit.event.entity.ExplosionPrimeEvent; // CraftBukkit
|
||||
+
|
||||
@@ -20,7 +21,7 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -18,7 +22,15 @@
|
||||
@@ -29,7 +33,15 @@
|
||||
if (!this.world.isClientSide) {
|
||||
boolean flag = this.world.getGameRules().getBoolean(GameRules.MOB_GRIEFING);
|
||||
|
||||
@@ -37,7 +38,7 @@
|
||||
this.die();
|
||||
}
|
||||
|
||||
@@ -49,7 +61,8 @@
|
||||
@@ -60,7 +72,8 @@
|
||||
public void loadData(NBTTagCompound nbttagcompound) {
|
||||
super.loadData(nbttagcompound);
|
||||
if (nbttagcompound.hasKeyOfType("ExplosionPower", 99)) {
|
||||
|
||||
Reference in New Issue
Block a user