diff options
Diffstat (limited to 'patches/server/0976-Brigadier-based-command-API.patch')
-rw-r--r-- | patches/server/0976-Brigadier-based-command-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0976-Brigadier-based-command-API.patch b/patches/server/0976-Brigadier-based-command-API.patch index e548c59e56..3ae23da312 100644 --- a/patches/server/0976-Brigadier-based-command-API.patch +++ b/patches/server/0976-Brigadier-based-command-API.patch @@ -2817,7 +2817,7 @@ index 0000000000000000000000000000000000000000..6475510ea1084a003fb2c8645cb4538b + } +} diff --git a/src/test/java/org/bukkit/support/DummyServer.java b/src/test/java/org/bukkit/support/DummyServer.java -index 41dcf87d945a0acb7806cb1704ee12f7f447daf7..53b49a7ee1ae185e0def7c90cf11223f55a57e65 100644 +index cce9e2226ef554c10e1df1dbaa1791656d5d0799..6e9ee1b56b4151c31c373e58172055e02fd7875a 100644 --- a/src/test/java/org/bukkit/support/DummyServer.java +++ b/src/test/java/org/bukkit/support/DummyServer.java @@ -100,7 +100,7 @@ public final class DummyServer { @@ -2827,5 +2827,5 @@ index 41dcf87d945a0acb7806cb1704ee12f7f447daf7..53b49a7ee1ae185e0def7c90cf11223f - final org.bukkit.plugin.PluginManager pluginManager = new io.papermc.paper.plugin.manager.PaperPluginManagerImpl(instance, new org.bukkit.command.SimpleCommandMap(instance), null); + final org.bukkit.plugin.PluginManager pluginManager = new io.papermc.paper.plugin.manager.PaperPluginManagerImpl(instance, new org.bukkit.command.SimpleCommandMap(instance, new java.util.HashMap<>()), null); // Paper when(instance.getPluginManager()).thenReturn(pluginManager); - when(instance.getTag(anyString(), any(org.bukkit.NamespacedKey.class), any())).thenAnswer(ignored -> new io.papermc.paper.util.EmptyTag()); // paper end - testing additions + |