Fixed lookups on legacy data not matching against legacy materials

This commit is contained in:
Intelli 2024-05-07 14:18:43 -06:00
parent 2ec5424614
commit fa071a53e7

View File

@ -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;