Update upstream Spigot and rebuild

This commit is contained in:
Zach Brown 2016-04-22 22:20:34 -05:00
parent 32ddaa3042
commit 3591fb7ed9
No known key found for this signature in database
GPG Key ID: CC9DA35FC5450B76
7 changed files with 30 additions and 31 deletions

View File

@ -1,23 +1,22 @@
From 2f32c9ef89437d0047ea741fbc4bade6ae94003a Mon Sep 17 00:00:00 2001 From 135639c58de544b629f9c8c929160eee1325ef56 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com> From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 29 Feb 2016 17:16:08 -0600 Date: Mon, 29 Feb 2016 17:16:08 -0600
Subject: [PATCH] POM changes Subject: [PATCH] POM changes
diff --git a/pom.xml b/pom.xml diff --git a/pom.xml b/pom.xml
index 662379f..a03865f 100644 index 6304f14..a03865f 100644
--- a/pom.xml --- a/pom.xml
+++ b/pom.xml +++ b/pom.xml
@@ -4,35 +4,37 @@ @@ -4,35 +4,37 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
- <groupId>org.sonatype.oss</groupId> - <groupId>org.spigotmc</groupId>
- <artifactId>oss-parent</artifactId> - <artifactId>spigot-parent</artifactId>
- <version>9</version>
+ <groupId>com.destroystokyo.paper</groupId> + <groupId>com.destroystokyo.paper</groupId>
+ <artifactId>paper-parent</artifactId> + <artifactId>paper-parent</artifactId>
+ <version>dev-SNAPSHOT</version> <version>dev-SNAPSHOT</version>
</parent> </parent>
- <groupId>org.spigotmc</groupId> - <groupId>org.spigotmc</groupId>

View File

@ -1,4 +1,4 @@
From 9580aa6af9b38fb50192c06791f859b4a1a12759 Mon Sep 17 00:00:00 2001 From f0cccb930c97f03205579dba1faf032ed9969b0a Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co> From: Aikar <aikar@aikar.co>
Date: Thu, 3 Mar 2016 04:00:11 -0600 Date: Thu, 3 Mar 2016 04:00:11 -0600
Subject: [PATCH] Timings v2 Subject: [PATCH] Timings v2
@ -345,7 +345,7 @@ index 2983756..9e84616 100644
public void recalcPosition() { public void recalcPosition() {
diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java diff --git a/src/main/java/net/minecraft/server/EntityLiving.java b/src/main/java/net/minecraft/server/EntityLiving.java
index bdfbf56..e6f59da 100644 index 09d6bd5..81525ee 100644
--- a/src/main/java/net/minecraft/server/EntityLiving.java --- a/src/main/java/net/minecraft/server/EntityLiving.java
+++ b/src/main/java/net/minecraft/server/EntityLiving.java +++ b/src/main/java/net/minecraft/server/EntityLiving.java
@@ -25,7 +25,7 @@ import org.bukkit.event.entity.EntityTeleportEvent; @@ -25,7 +25,7 @@ import org.bukkit.event.entity.EntityTeleportEvent;
@ -651,7 +651,7 @@ index f38b256..9c67687 100644
} }
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index aaa738a..8b90615 100644 index 7bf6480..433ed2a 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java --- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -244,13 +244,13 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -244,13 +244,13 @@ public class WorldServer extends World implements IAsyncTaskHandler {
@ -672,7 +672,7 @@ index aaa738a..8b90615 100644
this.methodProfiler.c("chunkMap"); this.methodProfiler.c("chunkMap");
timings.doChunkMap.startTiming(); // Spigot timings.doChunkMap.startTiming(); // Spigot
this.manager.flush(); this.manager.flush();
@@ -480,7 +480,7 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -481,7 +481,7 @@ public class WorldServer extends World implements IAsyncTaskHandler {
} }
} }
@ -681,7 +681,7 @@ index aaa738a..8b90615 100644
if (i > 0) { if (i > 0) {
ChunkSection[] achunksection = chunk.getSections(); ChunkSection[] achunksection = chunk.getSections();
int i1 = achunksection.length; int i1 = achunksection.length;
@@ -508,6 +508,7 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -509,6 +509,7 @@ public class WorldServer extends World implements IAsyncTaskHandler {
} }
} }
} }
@ -689,7 +689,7 @@ index aaa738a..8b90615 100644
} }
this.methodProfiler.b(); this.methodProfiler.b();
@@ -703,6 +704,7 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -704,6 +705,7 @@ public class WorldServer extends World implements IAsyncTaskHandler {
this.methodProfiler.a("cleaning"); this.methodProfiler.a("cleaning");
@ -697,7 +697,7 @@ index aaa738a..8b90615 100644
NextTickListEntry nextticklistentry; NextTickListEntry nextticklistentry;
for (int j = 0; j < i; ++j) { for (int j = 0; j < i; ++j) {
@@ -716,9 +718,11 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -717,9 +719,11 @@ public class WorldServer extends World implements IAsyncTaskHandler {
// this.nextTickListHash.remove(nextticklistentry); // this.nextTickListHash.remove(nextticklistentry);
this.U.add(nextticklistentry); this.U.add(nextticklistentry);
} }
@ -709,7 +709,7 @@ index aaa738a..8b90615 100644
Iterator iterator = this.U.iterator(); Iterator iterator = this.U.iterator();
while (iterator.hasNext()) { while (iterator.hasNext()) {
@@ -728,6 +732,8 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -729,6 +733,8 @@ public class WorldServer extends World implements IAsyncTaskHandler {
if (this.areChunksLoadedBetween(nextticklistentry.a.a(-b0, -b0, -b0), nextticklistentry.a.a(b0, b0, b0))) { if (this.areChunksLoadedBetween(nextticklistentry.a.a(-b0, -b0, -b0), nextticklistentry.a.a(b0, b0, b0))) {
IBlockData iblockdata = this.getType(nextticklistentry.a); IBlockData iblockdata = this.getType(nextticklistentry.a);
@ -718,7 +718,7 @@ index aaa738a..8b90615 100644
if (iblockdata.getMaterial() != Material.AIR && Block.a(iblockdata.getBlock(), nextticklistentry.a())) { if (iblockdata.getMaterial() != Material.AIR && Block.a(iblockdata.getBlock(), nextticklistentry.a())) {
try { try {
@@ -740,10 +746,12 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -741,10 +747,12 @@ public class WorldServer extends World implements IAsyncTaskHandler {
throw new ReportedException(crashreport); throw new ReportedException(crashreport);
} }
} }

View File

@ -1,4 +1,4 @@
From 923f3d8ea4be870cbea8dbc9f3d868b766969bdf Mon Sep 17 00:00:00 2001 From be317dc17fede314dc8eb7272dad275a5d1bffd8 Mon Sep 17 00:00:00 2001
From: Sudzzy <originmc@outlook.com> From: Sudzzy <originmc@outlook.com>
Date: Wed, 2 Mar 2016 14:52:43 -0600 Date: Wed, 2 Mar 2016 14:52:43 -0600
Subject: [PATCH] Disable thunder Subject: [PATCH] Disable thunder
@ -19,10 +19,10 @@ index 2626f81..1a341d8 100644
+ } + }
} }
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index 8b90615..94b5c37 100644 index 433ed2a..1a615e5 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java --- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -420,7 +420,8 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -421,7 +421,8 @@ public class WorldServer extends World implements IAsyncTaskHandler {
int l; int l;
BlockPosition blockposition; BlockPosition blockposition;
@ -33,5 +33,5 @@ index 8b90615..94b5c37 100644
l = this.l >> 2; l = this.l >> 2;
blockposition = this.a(new BlockPosition(j + (l & 15), 0, k + (l >> 8 & 15))); blockposition = this.a(new BlockPosition(j + (l & 15), 0, k + (l >> 8 & 15)));
-- --
2.7.4 2.8.0

View File

@ -1,4 +1,4 @@
From 8b3dce7e7e4fcb9a778f027e15d1f22ba86ccfa9 Mon Sep 17 00:00:00 2001 From 83193b8f541bf99bcd90315d922aba757d865f34 Mon Sep 17 00:00:00 2001
From: Sudzzy <originmc@outlook.com> From: Sudzzy <originmc@outlook.com>
Date: Wed, 2 Mar 2016 14:57:24 -0600 Date: Wed, 2 Mar 2016 14:57:24 -0600
Subject: [PATCH] Disable ice and snow Subject: [PATCH] Disable ice and snow
@ -19,10 +19,10 @@ index 1a341d8..d8bc932 100644
+ } + }
} }
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index 94b5c37..47dbea8 100644 index 1a615e5..c5b08f9 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java --- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -444,7 +444,7 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -445,7 +445,7 @@ public class WorldServer extends World implements IAsyncTaskHandler {
} }
this.methodProfiler.c("iceandsnow"); this.methodProfiler.c("iceandsnow");
@ -32,5 +32,5 @@ index 94b5c37..47dbea8 100644
l = this.l >> 2; l = this.l >> 2;
blockposition = this.p(new BlockPosition(j + (l & 15), 0, k + (l >> 8 & 15))); blockposition = this.p(new BlockPosition(j + (l & 15), 0, k + (l >> 8 & 15)));
-- --
2.7.4 2.8.0

View File

@ -1,4 +1,4 @@
From 7514fb16d9d7af9eced7dcf8a700bf4300c45bf4 Mon Sep 17 00:00:00 2001 From c9189373d0a6be8feecbbf1ce54c9ba3c893d538 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com> From: Zach Brown <zach.brown@destroystokyo.com>
Date: Tue, 22 Mar 2016 12:04:28 -0500 Date: Tue, 22 Mar 2016 12:04:28 -0500
Subject: [PATCH] Configurable spawn chances for skeleton horses Subject: [PATCH] Configurable spawn chances for skeleton horses
@ -19,10 +19,10 @@ index 26c1b72..55b211e 100644
+ } + }
} }
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index df7a807..3d25fd4 100644 index c5b08f9..7239f99 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java --- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -428,7 +428,10 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -429,7 +429,10 @@ public class WorldServer extends World implements IAsyncTaskHandler {
if (this.isRainingAt(blockposition)) { if (this.isRainingAt(blockposition)) {
DifficultyDamageScaler difficultydamagescaler = this.D(blockposition); DifficultyDamageScaler difficultydamagescaler = this.D(blockposition);

View File

@ -1,4 +1,4 @@
From de54050b13b340287834e5e72b96a2c8e7834117 Mon Sep 17 00:00:00 2001 From 829bedbf8efb98c9a5054e47ac1214d3fdf2cdc7 Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co> From: Aikar <aikar@aikar.co>
Date: Mon, 28 Mar 2016 19:55:45 -0400 Date: Mon, 28 Mar 2016 19:55:45 -0400
Subject: [PATCH] Option to disable BlockPhysicsEvent for Redstone Subject: [PATCH] Option to disable BlockPhysicsEvent for Redstone
@ -38,7 +38,7 @@ index 6c4a0aa..4bfeb01 100644
this.getServer().getPluginManager().callEvent(event); this.getServer().getPluginManager().callEvent(event);
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java
index 3d25fd4..e31bb65 100644 index 7239f99..acfcb59 100644
--- a/src/main/java/net/minecraft/server/WorldServer.java --- a/src/main/java/net/minecraft/server/WorldServer.java
+++ b/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java
@@ -32,6 +32,7 @@ import org.bukkit.event.weather.LightningStrikeEvent; @@ -32,6 +32,7 @@ import org.bukkit.event.weather.LightningStrikeEvent;
@ -49,7 +49,7 @@ index 3d25fd4..e31bb65 100644
private final MinecraftServer server; private final MinecraftServer server;
public EntityTracker tracker; public EntityTracker tracker;
private final PlayerChunkMap manager; private final PlayerChunkMap manager;
@@ -741,6 +742,7 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -742,6 +743,7 @@ public class WorldServer extends World implements IAsyncTaskHandler {
if (iblockdata.getMaterial() != Material.AIR && Block.a(iblockdata.getBlock(), nextticklistentry.a())) { if (iblockdata.getMaterial() != Material.AIR && Block.a(iblockdata.getBlock(), nextticklistentry.a())) {
try { try {
@ -57,7 +57,7 @@ index 3d25fd4..e31bb65 100644
iblockdata.getBlock().b((World) this, nextticklistentry.a, iblockdata, this.random); iblockdata.getBlock().b((World) this, nextticklistentry.a, iblockdata, this.random);
} catch (Throwable throwable) { } catch (Throwable throwable) {
CrashReport crashreport = CrashReport.a(throwable, "Exception while ticking a block"); CrashReport crashreport = CrashReport.a(throwable, "Exception while ticking a block");
@@ -748,7 +750,7 @@ public class WorldServer extends World implements IAsyncTaskHandler { @@ -749,7 +751,7 @@ public class WorldServer extends World implements IAsyncTaskHandler {
CrashReportSystemDetails.a(crashreportsystemdetails, nextticklistentry.a, iblockdata); CrashReportSystemDetails.a(crashreportsystemdetails, nextticklistentry.a, iblockdata);
throw new ReportedException(crashreport); throw new ReportedException(crashreport);

@ -1 +1 @@
Subproject commit 5a403651d2b6da681d7aba14e3b1df8171fc5249 Subproject commit f972b368da8f4aa32dea47c27c5ac428b37f70d3