Fix MaterialTags tests to actually pass
This commit is contained in:
parent
115972651a
commit
5791e512b7
1 changed files with 3 additions and 4 deletions
|
@ -204,10 +204,10 @@ index 0000000000000000000000000000000000000000..c91ea2a0679a7f3a5627b5a008e0b39d
|
||||||
+}
|
+}
|
||||||
diff --git a/src/main/java/com/destroystokyo/paper/MaterialTags.java b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
diff --git a/src/main/java/com/destroystokyo/paper/MaterialTags.java b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
||||||
new file mode 100644
|
new file mode 100644
|
||||||
index 0000000000000000000000000000000000000000..62313883aa183003726f268c8d9f210d83428f59
|
index 0000000000000000000000000000000000000000..af353bbdf8c2710d43d31237ea76eb9281aa463b
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
+++ b/src/main/java/com/destroystokyo/paper/MaterialTags.java
|
||||||
@@ -0,0 +1,512 @@
|
@@ -0,0 +1,511 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Copyright (c) 2018 Daniel Ennis (Aikar) MIT License
|
+ * Copyright (c) 2018 Daniel Ennis (Aikar) MIT License
|
||||||
+ *
|
+ *
|
||||||
|
@ -712,8 +712,7 @@ index 0000000000000000000000000000000000000000..62313883aa183003726f268c8d9f210d
|
||||||
+ * Covers the variants of player-throwable projectiles (not requiring a bow or any other "assistance").
|
+ * Covers the variants of player-throwable projectiles (not requiring a bow or any other "assistance").
|
||||||
+ */
|
+ */
|
||||||
+ public static final MaterialSetTag THROWABLE_PROJECTILES = new MaterialSetTag(keyFor("throwable_projectiles"))
|
+ public static final MaterialSetTag THROWABLE_PROJECTILES = new MaterialSetTag(keyFor("throwable_projectiles"))
|
||||||
+ .add(Material.EGG, Material.SNOWBALL, Material.SPLASH_POTION, Material.TRIDENT, Material.ENDER_PEARL, Material.EXPERIENCE_BOTTLE, Material.FIREWORK_ROCKET)
|
+ .add(Material.EGG, Material.SNOWBALL, Material.SPLASH_POTION, Material.TRIDENT, Material.ENDER_PEARL, Material.EXPERIENCE_BOTTLE, Material.FIREWORK_ROCKET);
|
||||||
+ .ensureSize("THROWABLE_PROJECTILES", 2);
|
|
||||||
+
|
+
|
||||||
+ @SuppressWarnings("unchecked")
|
+ @SuppressWarnings("unchecked")
|
||||||
+ public static final MaterialSetTag COLORABLE = new MaterialSetTag(keyFor("colorable"))
|
+ public static final MaterialSetTag COLORABLE = new MaterialSetTag(keyFor("colorable"))
|
||||||
|
|
Loading…
Reference in a new issue