mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2025-02-06 00:04:29 +01:00
Fixed lookups on legacy data not matching against legacy materials
This commit is contained in:
parent
2ec5424614
commit
fa071a53e7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user