aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/djtheredstoner/perspectivemod/asm
diff options
context:
space:
mode:
authorDJtheRedstoner <52044242+DJtheRedstoner@users.noreply.github.com>2020-10-20 15:02:59 -0400
committerDJtheRedstoner <52044242+DJtheRedstoner@users.noreply.github.com>2020-10-20 15:02:59 -0400
commit3cd0d242a9a631ab7a255c81a761b9a91c6d23b5 (patch)
tree1e724b3cd725edcae6126736bcbdc7bb03077399 /src/main/java/me/djtheredstoner/perspectivemod/asm
parentfa9886101104f2447c87fde34b4341bf98c23fbc (diff)
downloadPerspectiveModv4-3cd0d242a9a631ab7a255c81a761b9a91c6d23b5.tar.gz
PerspectiveModv4-3cd0d242a9a631ab7a255c81a761b9a91c6d23b5.tar.bz2
PerspectiveModv4-3cd0d242a9a631ab7a255c81a761b9a91c6d23b5.zip
Bug fixes:
Fix chunk unloading issues (#2) Fix particles not rotating in prod.
Diffstat (limited to 'src/main/java/me/djtheredstoner/perspectivemod/asm')
-rw-r--r--src/main/java/me/djtheredstoner/perspectivemod/asm/transformers/ActiveRenderInfoTransformer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/djtheredstoner/perspectivemod/asm/transformers/ActiveRenderInfoTransformer.java b/src/main/java/me/djtheredstoner/perspectivemod/asm/transformers/ActiveRenderInfoTransformer.java
index 531ec90..9a37575 100644
--- a/src/main/java/me/djtheredstoner/perspectivemod/asm/transformers/ActiveRenderInfoTransformer.java
+++ b/src/main/java/me/djtheredstoner/perspectivemod/asm/transformers/ActiveRenderInfoTransformer.java
@@ -31,7 +31,7 @@ public class ActiveRenderInfoTransformer implements ITransformer {
FieldInsnNode insn = (FieldInsnNode) next;
String ownerName = mapClassName(insn.owner);
- String fieldName = mapClassName(insn.name);
+ String fieldName = mapFieldNameFromNode(insn);
if(ownerName.equals("net/minecraft/entity/player/EntityPlayer") && insn.desc.equals("F")) {
InsnList insnList = null;