Merge branch '1.16' of https://github.com/IzzelAliz/Arclight into 1.16
This commit is contained in:
commit
6c17585071
@ -85,7 +85,7 @@ public class CraftLegacyLegacyMixin {
|
|||||||
if (((MaterialBridge) (Object) material).bridge$getType() == MaterialPropertySpec.MaterialType.FORGE) {
|
if (((MaterialBridge) (Object) material).bridge$getType() == MaterialPropertySpec.MaterialType.FORGE) {
|
||||||
return material.name();
|
return material.name();
|
||||||
} else {
|
} else {
|
||||||
return material.name().substring("LEGACY_".length());
|
return material.name().replaceAll("^LEGACY_", "");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user