mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-10 17:58:03 +01:00
Fix 1.12- material parsing for new 1.14 dyes
This commit is contained in:
parent
4c777dee3a
commit
5c3d706752
@ -1243,8 +1243,11 @@ public enum Materials {
|
||||
if (mat != null)
|
||||
return mat;
|
||||
|
||||
if (old13Mat != null)
|
||||
return Material.matchMaterial(old13Mat);
|
||||
if (old13Mat != null) {
|
||||
mat = Material.matchMaterial(old13Mat);
|
||||
if (mat != null)
|
||||
return mat;
|
||||
}
|
||||
|
||||
return Material.matchMaterial(old12Mat);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user