SPIGOT-5536: Material.values() causes legacy data init
By: md_5 <git@md-5.net>
This commit is contained in:
1 parent
8ef307d13e
commit
77bc265e5b
4 files changed
+18
-17
No files matched your search
@@ -99,7 +99,7 @@ public class LegacyTest extends AbstractTestingBase {
|
||||
Assert.assertTrue("Must iterate only legacy materials", material.isLegacy());
|
||||
}
|
||||
|
||||
for (Material material : CraftLegacy.modern_values()) {
|
||||
for (Material material : org.bukkit.craftbukkit.util.CraftLegacy.modern_values()) {
|
||||
Assert.assertFalse("Must iterate only modern materials", material.isLegacy());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user