Fixed lookups on legacy data not matching against legacy materials

This commit is contained in:
Intelli committed 2024-05-07 17:38:26 -06:00
1 parent 2ec5424614
commit fa071a53e7
1 file changed
+4
@@ -1035,6 +1035,10 @@ public class Util extends Queue {
name = BukkitAdapter.ADAPTER.parseLegacyName(name);
material = Material.getMaterial(name);
if (material == null) {
material = Material.getMaterial(name, true);
}
}
return material;