@@ -1,7 +1,7 @@
|
||||
--- a/net/minecraft/server/Explosion.java
|
||||
+++ b/net/minecraft/server/Explosion.java
|
||||
@@ -10,6 +10,13 @@
|
||||
import java.util.Random;
|
||||
import java.util.Set;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
+// CraftBukkit start
|
||||
@@ -37,7 +37,7 @@
|
||||
+ return;
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
HashSet hashset = Sets.newHashSet();
|
||||
Set<BlockPosition> set = Sets.newHashSet();
|
||||
boolean flag = true;
|
||||
|
||||
@@ -76,7 +89,7 @@
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
- if (f > 0.0F && (this.source == null || this.source.a(this, this.world, blockposition, iblockdata, f))) {
|
||||
+ if (f > 0.0F && (this.source == null || this.source.a(this, this.world, blockposition, iblockdata, f)) && blockposition.getY() < 256 && blockposition.getY() >= 0) { // CraftBukkit - don't wrap explosions
|
||||
hashset.add(blockposition);
|
||||
set.add(blockposition);
|
||||
}
|
||||
|
||||
@@ -120,7 +133,16 @@
|
||||
|
||||
Reference in New Issue
Block a user