mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 23:10:16 +01:00
Update B/CB/S
This commit is contained in:
parent
5980496556
commit
caec68907d
11 changed files with 85 additions and 66 deletions
|
@ -1,11 +1,11 @@
|
|||
From 9d2397180f0d5ce5b4cce3f1f80c90c860358824 Mon Sep 17 00:00:00 2001
|
||||
From a5783dd1bfe8f0f0166976f3afc04a1f35ba3acb Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||
Date: Tue, 1 Mar 2016 00:16:08 +0100
|
||||
Subject: [PATCH] POM changes
|
||||
|
||||
|
||||
diff --git a/pom.xml b/pom.xml
|
||||
index 98f2d67a..49fe56cc 100644
|
||||
index 8ee129d9..133d1660 100644
|
||||
--- a/pom.xml
|
||||
+++ b/pom.xml
|
||||
@@ -3,39 +3,39 @@
|
||||
|
@ -114,34 +114,7 @@ index 98f2d67a..49fe56cc 100644
|
|||
<dependencies>
|
||||
<!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
|
||||
<dependency>
|
||||
@@ -118,26 +133,6 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
- <plugin>
|
||||
- <groupId>org.codehaus.mojo</groupId>
|
||||
- <artifactId>animal-sniffer-maven-plugin</artifactId>
|
||||
- <version>1.16</version>
|
||||
- <executions>
|
||||
- <execution>
|
||||
- <phase>process-classes</phase>
|
||||
- <goals>
|
||||
- <goal>check</goal>
|
||||
- </goals>
|
||||
- </execution>
|
||||
- </executions>
|
||||
- <configuration>
|
||||
- <signature>
|
||||
- <groupId>org.codehaus.mojo.signature</groupId>
|
||||
- <artifactId>java16</artifactId>
|
||||
- <version>1.1</version>
|
||||
- </signature>
|
||||
- </configuration>
|
||||
- </plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-shade-plugin</artifactId>
|
||||
@@ -151,6 +146,7 @@
|
||||
@@ -131,6 +146,7 @@
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
|
@ -149,6 +122,40 @@ index 98f2d67a..49fe56cc 100644
|
|||
<!-- when downloading via Maven we can pull depends individually -->
|
||||
<shadedArtifactAttached>true</shadedArtifactAttached>
|
||||
</configuration>
|
||||
@@ -138,33 +154,4 @@
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
- <profiles>
|
||||
- <profile>
|
||||
- <id>development</id>
|
||||
- <build>
|
||||
- <plugins>
|
||||
- <plugin>
|
||||
- <groupId>org.codehaus.mojo</groupId>
|
||||
- <artifactId>animal-sniffer-maven-plugin</artifactId>
|
||||
- <version>1.16</version>
|
||||
- <executions>
|
||||
- <execution>
|
||||
- <phase>process-classes</phase>
|
||||
- <goals>
|
||||
- <goal>check</goal>
|
||||
- </goals>
|
||||
- </execution>
|
||||
- </executions>
|
||||
- <configuration>
|
||||
- <signature>
|
||||
- <groupId>org.codehaus.mojo.signature</groupId>
|
||||
- <artifactId>java16</artifactId>
|
||||
- <version>1.1</version>
|
||||
- </signature>
|
||||
- </configuration>
|
||||
- </plugin>
|
||||
- </plugins>
|
||||
- </build>
|
||||
- </profile>
|
||||
- </profiles>
|
||||
</project>
|
||||
--
|
||||
2.14.1
|
||||
2.15.0
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
From 4daeb84c011999face5942ce02193c4e0ba552c9 Mon Sep 17 00:00:00 2001
|
||||
From 06a176da194d6079a94bce3a24f95e2228c96be0 Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <zach.brown@destroystokyo.com>
|
||||
Date: Mon, 29 Feb 2016 20:40:33 -0600
|
||||
Subject: [PATCH] POM Changes
|
||||
|
||||
|
||||
diff --git a/pom.xml b/pom.xml
|
||||
index c73b4b4f5..0c4398228 100644
|
||||
index 65dd49259..d49a624ec 100644
|
||||
--- a/pom.xml
|
||||
+++ b/pom.xml
|
||||
@@ -1,12 +1,12 @@
|
||||
|
@ -107,7 +107,7 @@ index c73b4b4f5..0c4398228 100644
|
|||
<Implementation-Vendor>${maven.build.timestamp}</Implementation-Vendor>
|
||||
<Specification-Title>Bukkit</Specification-Title>
|
||||
<Specification-Version>${api.version}</Specification-Version>
|
||||
@@ -209,19 +198,22 @@
|
||||
@@ -189,19 +178,22 @@
|
||||
<goal>shade</goal>
|
||||
</goals>
|
||||
<configuration>
|
||||
|
@ -138,7 +138,7 @@ index c73b4b4f5..0c4398228 100644
|
|||
<relocation>
|
||||
<pattern>org.bukkit.craftbukkit</pattern>
|
||||
<shadedPattern>org.bukkit.craftbukkit.v${minecraft_version}</shadedPattern>
|
||||
@@ -247,23 +239,11 @@
|
||||
@@ -227,23 +219,11 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<version>3.7.0</version>
|
||||
|
@ -163,6 +163,18 @@ index c73b4b4f5..0c4398228 100644
|
|||
<configuration>
|
||||
<workingDirectory>${basedir}/target/test-server</workingDirectory>
|
||||
<excludes>
|
||||
@@ -257,6 +237,11 @@
|
||||
<profiles>
|
||||
<profile>
|
||||
<id>development</id>
|
||||
+ <!-- Paper start - activate by default -->
|
||||
+ <activation>
|
||||
+ <activeByDefault>true</activeByDefault>
|
||||
+ </activation>
|
||||
+ <!-- Paper end -->
|
||||
<build>
|
||||
<plugins>
|
||||
<plugin>
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
||||
index 93046379d..674096cab 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
||||
|
@ -177,5 +189,5 @@ index 93046379d..674096cab 100644
|
|||
|
||||
if (stream != null) {
|
||||
--
|
||||
2.14.3
|
||||
2.15.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 456890d91c1d97836f3c67cf40acdfa724ac6745 Mon Sep 17 00:00:00 2001
|
||||
From 590ff828fdcfe1708f7f5dff3066d1017bad2cd1 Mon Sep 17 00:00:00 2001
|
||||
From: Aikar <aikar@aikar.co>
|
||||
Date: Thu, 3 Mar 2016 04:00:11 -0600
|
||||
Subject: [PATCH] Timings v2
|
||||
|
@ -1648,7 +1648,7 @@ index 3a95b4465..b5efb9c3f 100644
|
|||
|
||||
public void callStage3(QueuedChunk queuedChunk, Chunk chunk, Runnable runnable) throws RuntimeException {
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index ca138fa65..d38900887 100644
|
||||
index 945a2d271..4ad58c034 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -38,7 +38,7 @@ import org.bukkit.configuration.serialization.DelegateDeserialization;
|
||||
|
@ -1660,7 +1660,7 @@ index ca138fa65..d38900887 100644
|
|||
import org.bukkit.craftbukkit.block.CraftSign;
|
||||
import org.bukkit.craftbukkit.conversations.ConversationTracker;
|
||||
import org.bukkit.craftbukkit.CraftEffect;
|
||||
@@ -1625,6 +1625,12 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@@ -1624,6 +1624,12 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
packet.components = components;
|
||||
getHandle().playerConnection.sendPacket(packet);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 533744e8d4544784fccf02ee896403323e4790b6 Mon Sep 17 00:00:00 2001
|
||||
From d08e91be47f7936e38a46397b196dcdb8e5fdf7c Mon Sep 17 00:00:00 2001
|
||||
From: Jedediah Smith <jedediah@silencegreys.com>
|
||||
Date: Tue, 1 Mar 2016 14:47:52 -0600
|
||||
Subject: [PATCH] Player affects spawning API
|
||||
|
@ -70,10 +70,10 @@ index eb27d080c..a35f714eb 100644
|
|||
|
||||
if (d3 < 0.0D || d4 < d3 * d3) {
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index d38900887..939233ef7 100644
|
||||
index 4ad58c034..af225feef 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1488,6 +1488,16 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@@ -1487,6 +1487,16 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@Override
|
||||
public String getLocale() {
|
||||
return getHandle().locale;
|
||||
|
@ -91,5 +91,5 @@ index d38900887..939233ef7 100644
|
|||
|
||||
// Spigot start
|
||||
--
|
||||
2.14.1
|
||||
2.15.0
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
From db3e5eb562d844d6bfa7dd145b0284b5fcac8566 Mon Sep 17 00:00:00 2001
|
||||
From e94c7b36b54d7763f5c7a48d7938925fac5e8ac7 Mon Sep 17 00:00:00 2001
|
||||
From: Byteflux <byte@byteflux.net>
|
||||
Date: Wed, 2 Mar 2016 14:35:27 -0600
|
||||
Subject: [PATCH] Add player view distance API
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index 480057110..e4a16867e 100644
|
||||
index 9829cdd89..5b0675718 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -66,6 +66,15 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
||||
|
@ -194,10 +194,10 @@ index e4ed2e991..cfac05750 100644
|
|||
+ // Paper end
|
||||
}
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index b7203df1b..c1dfcf103 100644
|
||||
index b178fe9aa..a3e2e7fb7 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1501,6 +1501,16 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@@ -1500,6 +1500,16 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
return this.getHandle().affectsSpawning;
|
||||
}
|
||||
|
||||
|
@ -215,5 +215,5 @@ index b7203df1b..c1dfcf103 100644
|
|||
private final Player.Spigot spigot = new Player.Spigot()
|
||||
{
|
||||
--
|
||||
2.13.3.windows.1
|
||||
2.15.0
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
From 22fe86a87519c97ee5197d6badf3fef8c868e0e2 Mon Sep 17 00:00:00 2001
|
||||
From 9eea87bda0275ee6c528a2bb2f174a5d8eb1b4b1 Mon Sep 17 00:00:00 2001
|
||||
From: Jedediah Smith <jedediah@silencegreys.com>
|
||||
Date: Sat, 4 Apr 2015 23:17:52 -0400
|
||||
Subject: [PATCH] Complete resource pack API
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerConnection.java b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
index 5ebd3c78f..7a721ffc6 100644
|
||||
index 5348c0cbc..5cc5dbcd7 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerConnection.java
|
||||
@@ -1067,7 +1067,12 @@ public class PlayerConnection implements PacketListenerPlayIn, ITickable {
|
||||
|
@ -23,7 +23,7 @@ index 5ebd3c78f..7a721ffc6 100644
|
|||
// CraftBukkit end
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 7e95ec70f..d5c53032a 100644
|
||||
index 357236035..dc9b17350 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -81,6 +81,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
@ -37,7 +37,7 @@ index 7e95ec70f..d5c53032a 100644
|
|||
|
||||
public CraftPlayer(CraftServer server, EntityPlayer entity) {
|
||||
super(server, entity);
|
||||
@@ -1592,6 +1596,32 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@@ -1591,6 +1595,32 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
((WorldServer) getHandle().world).getPlayerChunkMap().updateViewDistance(getHandle(), viewDistance);
|
||||
}
|
||||
|
||||
|
@ -71,5 +71,5 @@ index 7e95ec70f..d5c53032a 100644
|
|||
private final Player.Spigot spigot = new Player.Spigot()
|
||||
{
|
||||
--
|
||||
2.14.1
|
||||
2.15.0
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
From 4d9e75fcdf46bd479e8c6b6884d165640394c6d4 Mon Sep 17 00:00:00 2001
|
||||
From d63f6e2ea9bb8f02ea2bf2290fe0492c2e65067f Mon Sep 17 00:00:00 2001
|
||||
From: Isaac Moore <rmsy@me.com>
|
||||
Date: Tue, 19 Apr 2016 14:09:31 -0500
|
||||
Subject: [PATCH] Implement PlayerLocaleChangeEvent
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityPlayer.java b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
index e9377ca3..15a448d7 100644
|
||||
index e48121b4a..24d3b29a5 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityPlayer.java
|
||||
@@ -31,7 +31,7 @@ import org.bukkit.inventory.MainHand;
|
||||
|
@ -45,10 +45,10 @@ index e9377ca3..15a448d7 100644
|
|||
this.cm = packetplayinsettings.d();
|
||||
this.getDataWatcher().set(EntityPlayer.br, Byte.valueOf((byte) packetplayinsettings.e()));
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
index 17a14fdc..41330c2a 100644
|
||||
index 7c20ef1b0..7776b09d5 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftPlayer.java
|
||||
@@ -1585,8 +1585,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@@ -1584,8 +1584,10 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
|
||||
@Override
|
||||
public String getLocale() {
|
||||
|
@ -61,7 +61,7 @@ index 17a14fdc..41330c2a 100644
|
|||
}
|
||||
|
||||
public void setAffectsSpawning(boolean affects) {
|
||||
@@ -1723,7 +1725,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@@ -1722,7 +1724,7 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
@Override
|
||||
public String getLocale()
|
||||
{
|
||||
|
@ -71,5 +71,5 @@ index 17a14fdc..41330c2a 100644
|
|||
|
||||
@Override
|
||||
--
|
||||
2.14.1
|
||||
2.15.0
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
From 2d1ed0e054f43fe5f47c44baac200f17df5dc8c2 Mon Sep 17 00:00:00 2001
|
||||
From 27b8e8006467d688fc595a134d1c96611e6b35e0 Mon Sep 17 00:00:00 2001
|
||||
From: Minecrell <dev@minecrell.net>
|
||||
Date: Fri, 9 Jun 2017 19:03:43 +0200
|
||||
Subject: [PATCH] Use TerminalConsoleAppender for console improvements
|
||||
|
@ -20,7 +20,7 @@ Other changes:
|
|||
configuration
|
||||
|
||||
diff --git a/pom.xml b/pom.xml
|
||||
index 6a0a02883..98972114d 100644
|
||||
index d49a624ec..93f70ab21 100644
|
||||
--- a/pom.xml
|
||||
+++ b/pom.xml
|
||||
@@ -53,12 +53,6 @@
|
||||
|
@ -69,7 +69,7 @@ index 6a0a02883..98972114d 100644
|
|||
<!-- testing -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
@@ -230,10 +250,18 @@
|
||||
@@ -210,10 +230,18 @@
|
||||
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
||||
<resource>META-INF/services/java.sql.Driver</resource>
|
||||
</transformer>
|
||||
|
@ -633,5 +633,5 @@ index 5cee8f00e..08b6bb7f9 100644
|
|||
<AppenderRef ref="TerminalConsole" level="info"/>
|
||||
</Root>
|
||||
--
|
||||
2.14.2
|
||||
2.15.0
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 4359dbee24e331f96bc7ff88ec25e2b74cfbaa7e
|
||||
Subproject commit dceaeb8e5f0abe7095262066c2bd9837dbafe61e
|
|
@ -1 +1 @@
|
|||
Subproject commit 82f3b02c675ded7f1c70f84468717a37dfdcf27c
|
||||
Subproject commit c15d8694401f4982c69c5762852210255ee9703a
|
|
@ -1 +1 @@
|
|||
Subproject commit d21162c022608caa31619b4d2ead39e808947df9
|
||||
Subproject commit 7129aebca83ef1d79bb2d026da0b00649b3fc722
|
Loading…
Reference in a new issue