From 9857d5a9b40dc42d5fb2131a511f18c35b9f1a8b Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Mon, 8 Oct 2018 01:33:25 -0400 Subject: [PATCH] Fix MaterialTagTest deterministic ordering Tacos > Burritos --- Spigot-API-Patches/Add-Material-Tags.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Spigot-API-Patches/Add-Material-Tags.patch b/Spigot-API-Patches/Add-Material-Tags.patch index e35885379e..45d1c39c5e 100644 --- a/Spigot-API-Patches/Add-Material-Tags.patch +++ b/Spigot-API-Patches/Add-Material-Tags.patch @@ -536,7 +536,7 @@ index 000000000..92bb0aef5 +} diff --git a/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java new file mode 100644 -index 000000000..01cf1041e +index 000000000..328c51471 --- /dev/null +++ b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java @@ -0,0 +0,0 @@ @@ -547,6 +547,7 @@ index 000000000..01cf1041e +package com.destroystokyo.paper; + +import org.bukkit.Bukkit; ++import org.bukkit.TestServer; +import org.junit.Test; + +import java.util.logging.Level; @@ -555,6 +556,7 @@ index 000000000..01cf1041e + @Test + public void testInitialize() { + try { ++ TestServer.getInstance(); + MaterialTags.SHULKER_BOXES.getValues(); + assert true; + } catch (Throwable e) {