mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-21 12:52:19 +00:00
use classnode name in CeleritasBlockTransform (#1521)
This commit is contained in:
1 parent
fe9028d300
commit
6a784d8d3b
1 file changed
+1
-1
+1
-1
@@ -114,7 +114,7 @@ public final class CeleritasBlockTransform implements Opcodes {
|
||||
return false;
|
||||
}
|
||||
boolean changed = false;
|
||||
if ("net.minecraft.block.Block".equals(transformedName)) {
|
||||
if (BlockClass.equals(cn.name)) {
|
||||
changed = cn.fields.removeIf(field -> fieldNameToRedirect.containsKey(field.name));
|
||||
} else {
|
||||
trackBlockShadowingFields(cn);
|
||||
|
||||
Reference in new issue
Block a user