geforkt von Mirrors/Paper
Avoid NPE in AdvancementDataWorld thanks to Spigot being dumb
Dieser Commit ist enthalten in:
Ursprung
7be477c2cc
Commit
041250dfb9
@ -6,7 +6,7 @@ Subject: [PATCH] Add PlayerInitialSpawnEvent
|
||||
For modifying a player's initial spawn location as they join the server
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/PlayerList.java b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
index b9920a5fc..b90407d18 100644
|
||||
index b3356b40f..128f55287 100644
|
||||
--- a/src/main/java/net/minecraft/server/PlayerList.java
|
||||
+++ b/src/main/java/net/minecraft/server/PlayerList.java
|
||||
@@ -0,0 +0,0 @@ public abstract class PlayerList {
|
||||
|
@ -0,0 +1,20 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Riley Park <rileysebastianpark@gmail.com>
|
||||
Date: Thu, 21 Sep 2017 07:00:43 -0700
|
||||
Subject: [PATCH] Avoid NPE in AdvancementDataWorld thanks to Spigot being dumb
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
index 9ce3e1365..712fc1f9b 100644
|
||||
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
@@ -0,0 +0,0 @@ public class SpigotConfig
|
||||
}
|
||||
|
||||
public static boolean disableAdvancementSaving;
|
||||
- public static List<String> disabledAdvancements;
|
||||
+ public static List<String> disabledAdvancements = java.util.Collections.emptyList(); // Paper - avoid NPE in AdvancementDataWorld
|
||||
private static void disabledAdvancements() {
|
||||
disableAdvancementSaving = getBoolean("advancements.disable-saving", false);
|
||||
disabledAdvancements = getList("advancements.disabled", Arrays.asList(new String[]{"minecraft:story/disabled"}));
|
||||
--
|
@ -5,7 +5,7 @@ Subject: [PATCH] Configurable Chunk IO Thread Base Count
|
||||
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||
index 007589314..9a6f87e59 100644
|
||||
index b5795b6d3..36689db74 100644
|
||||
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||
@@ -0,0 +0,0 @@ public class PaperConfig {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren