Update to Minecraft 1.8.7

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2015-06-05 20:57:48 +10:00
parent c72d0324fc
commit ae714e4861
5 changed files with 33 additions and 32 deletions

View File

@@ -378,7 +378,7 @@
this.V.add(nextticklistentry);
}
@@ -492,7 +664,7 @@
@@ -489,7 +661,7 @@
if (blockposition.getX() >= structureboundingbox.a && blockposition.getX() < structureboundingbox.d && blockposition.getZ() >= structureboundingbox.c && blockposition.getZ() < structureboundingbox.f) {
if (flag) {
@@ -387,7 +387,7 @@
iterator.remove();
}
@@ -508,6 +680,7 @@
@@ -505,6 +677,7 @@
return arraylist;
}
@@ -395,7 +395,7 @@
public void entityJoinedWorld(Entity entity, boolean flag) {
if (!this.getSpawnAnimals() && (entity instanceof EntityAnimal || entity instanceof EntityWaterAnimal)) {
entity.die();
@@ -519,6 +692,7 @@
@@ -516,6 +689,7 @@
super.entityJoinedWorld(entity, flag);
}
@@ -403,7 +403,7 @@
private boolean getSpawnNPCs() {
return this.server.getSpawnNPCs();
@@ -531,13 +705,43 @@
@@ -528,13 +702,43 @@
protected IChunkProvider k() {
IChunkLoader ichunkloader = this.dataManager.createChunkLoader(this.worldProvider);
@@ -448,7 +448,7 @@
for (int k1 = 0; k1 < this.h.size(); ++k1) {
TileEntity tileentity = (TileEntity) this.h.get(k1);
BlockPosition blockposition = tileentity.getPosition();
@@ -546,6 +750,8 @@
@@ -543,6 +747,8 @@
arraylist.add(tileentity);
}
}
@@ -457,7 +457,7 @@
return arraylist;
}
@@ -609,6 +815,23 @@
@@ -606,6 +812,23 @@
int j = this.worldProvider.getSeaLevel();
int k = 0;
@@ -481,7 +481,7 @@
if (blockposition != null) {
i = blockposition.getX();
k = blockposition.getZ();
@@ -618,7 +841,7 @@
@@ -615,7 +838,7 @@
int l = 0;
@@ -490,7 +490,7 @@
i += random.nextInt(64) - random.nextInt(64);
k += random.nextInt(64) - random.nextInt(64);
++l;
@@ -657,6 +880,7 @@
@@ -654,6 +877,7 @@
public void save(boolean flag, IProgressUpdate iprogressupdate) throws ExceptionWorldConflict {
if (this.chunkProvider.canSave()) {
@@ -498,7 +498,7 @@
if (iprogressupdate != null) {
iprogressupdate.a("Saving level");
}
@@ -667,7 +891,8 @@
@@ -664,7 +888,8 @@
}
this.chunkProvider.saveChunks(flag, iprogressupdate);
@@ -508,7 +508,7 @@
Iterator iterator = arraylist.iterator();
while (iterator.hasNext()) {
@@ -698,8 +923,12 @@
@@ -695,8 +920,12 @@
this.worldData.k(this.getWorldBorder().getWarningTime());
this.worldData.b(this.getWorldBorder().j());
this.worldData.e(this.getWorldBorder().i());
@@ -522,7 +522,7 @@
}
protected void a(Entity entity) {
@@ -731,8 +960,16 @@
@@ -728,8 +957,16 @@
}
public boolean strikeLightning(Entity entity) {
@@ -540,7 +540,7 @@
return true;
} else {
return false;
@@ -744,10 +981,20 @@
@@ -741,10 +978,20 @@
}
public Explosion createExplosion(Entity entity, double d0, double d1, double d2, float f, boolean flag, boolean flag1) {
@@ -561,7 +561,7 @@
if (!flag1) {
explosion.clearBlocks();
}
@@ -793,7 +1040,8 @@
@@ -790,7 +1037,8 @@
BlockActionData blockactiondata = (BlockActionData) iterator.next();
if (this.a(blockactiondata)) {
@@ -571,7 +571,7 @@
}
}
@@ -816,6 +1064,7 @@
@@ -813,6 +1061,7 @@
boolean flag = this.S();
super.p();
@@ -579,7 +579,7 @@
if (this.o != this.p) {
this.server.getPlayerList().a(new PacketPlayOutGameStateChange(7, this.p), this.worldProvider.getDimension());
}
@@ -834,6 +1083,21 @@
@@ -831,6 +1080,21 @@
this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(7, this.p));
this.server.getPlayerList().sendAll(new PacketPlayOutGameStateChange(8, this.r));
}
@@ -601,7 +601,7 @@
}
@@ -862,10 +1126,17 @@
@@ -859,10 +1123,17 @@
}
public void a(EnumParticle enumparticle, boolean flag, double d0, double d1, double d2, int i, double d3, double d4, double d5, double d6, int... aint) {