mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Ignore colorable size in test, NMS Tags not loaded at unit test
runtime materials is different than unit test. prob going to run into this again in future, will worry about it then
This commit is contained in:
parent
35e512ae34
commit
e6b2a1d2a6
1 changed files with 3 additions and 3 deletions
|
@ -153,7 +153,7 @@ index 000000000..b4f78e075
|
|||
+}
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/MaterialTags.java b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
||||
new file mode 100644
|
||||
index 000000000..92bb0aef5
|
||||
index 000000000..7a48445da
|
||||
--- /dev/null
|
||||
+++ b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
||||
@@ -0,0 +0,0 @@
|
||||
|
@ -531,8 +531,8 @@ index 000000000..92bb0aef5
|
|||
+
|
||||
+ @SuppressWarnings("unchecked")
|
||||
+ public static final MaterialSetTag COLORABLE = new MaterialSetTag()
|
||||
+ .add(Tag.WOOL, Tag.CARPETS).add(SHULKER_BOXES, STAINED_GLASS, STAINED_GLASS_PANES, CONCRETES, BEDS)
|
||||
+ .ensureSize("COLORABLE", 81);
|
||||
+ .add(Tag.WOOL, Tag.CARPETS).add(SHULKER_BOXES, STAINED_GLASS, STAINED_GLASS_PANES, CONCRETES, BEDS);
|
||||
+ //.ensureSize("COLORABLE", 81); unit test don't have the vanilla item tags, so counts don't line up for real
|
||||
+}
|
||||
diff --git a/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java b/src/test/java/com/destroystokyo/paper/MaterialTagsTest.java
|
||||
new file mode 100644
|
||||
|
|
Loading…
Reference in a new issue