mirror of
https://github.com/PlayPro/CoreProtect.git
synced 2025-02-21 02:33:36 +01:00
Fixed lookups on legacy data not matching against legacy materials
This commit is contained in:
parent
5426e69fb8
commit
4daaf6cc02
@ -1039,6 +1039,10 @@ public class Util extends Queue {
|
|||||||
|
|
||||||
name = BukkitAdapter.ADAPTER.parseLegacyName(name);
|
name = BukkitAdapter.ADAPTER.parseLegacyName(name);
|
||||||
material = Material.getMaterial(name);
|
material = Material.getMaterial(name);
|
||||||
|
|
||||||
|
if (material == null) {
|
||||||
|
material = Material.getMaterial(name, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return material;
|
return material;
|
||||||
|
Loading…
Reference in New Issue
Block a user