Mappings Update

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2018-12-26 08:00:00 +11:00
parent 239b2828db
commit d7e312278d
120 changed files with 878 additions and 1619 deletions

View File

@@ -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 @@