mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 20:07:32 +00:00
Add Model Biped check for Dragon Block Animations
This commit is contained in:
1 parent
b0c7322ac2
commit
89f97c35df
1 file changed
+3
@@ -271,6 +271,9 @@ public abstract class MixinModelRenderer {
|
||||
try {
|
||||
Class<?> ModelBipedBody = Class.forName("JinRyuu.JRMCore.entity.ModelBipedBody");
|
||||
Object model = renderer.baseModel;
|
||||
if(!(model instanceof ModelBiped))
|
||||
return null;
|
||||
|
||||
Field[] declared;
|
||||
if (ClientEventHandler.declaredFieldCache.containsKey(ModelBipedBody)) {
|
||||
declared = ClientEventHandler.declaredFieldCache.get(ModelBipedBody);
|
||||
|
||||
Reference in new issue
Block a user