summaryrefslogtreecommitdiffstats
path: root/nms-patches/WorldServer.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2015-06-05 20:57:48 +1000
committermd_5 <git@md-5.net>2015-06-05 20:57:48 +1000
commita6a57a96d02e57264d45120ce9f272c18c64407a (patch)
tree907d03fe45edc27226e8ea81f06f039b8f3c75fc /nms-patches/WorldServer.patch
parente8c64031b1e4e06a918594ab349fff7e39c789ce (diff)
downloadcraftbukkit-a6a57a96d02e57264d45120ce9f272c18c64407a.tar
craftbukkit-a6a57a96d02e57264d45120ce9f272c18c64407a.tar.gz
craftbukkit-a6a57a96d02e57264d45120ce9f272c18c64407a.tar.lz
craftbukkit-a6a57a96d02e57264d45120ce9f272c18c64407a.tar.xz
craftbukkit-a6a57a96d02e57264d45120ce9f272c18c64407a.zip
Update to Minecraft 1.8.7
Diffstat (limited to 'nms-patches/WorldServer.patch')
-rw-r--r--nms-patches/WorldServer.patch32
1 files changed, 16 insertions, 16 deletions
diff --git a/nms-patches/WorldServer.patch b/nms-patches/WorldServer.patch
index 76320014..09dd7132 100644
--- a/nms-patches/WorldServer.patch
+++ b/nms-patches/WorldServer.patch
@@ -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) {