We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75da6f3 commit 5af0d51Copy full SHA for 5af0d51
blade-engine/src/com/bladecoder/engine/actions/PickUpAction.java
@@ -73,7 +73,7 @@ public boolean run(ActionCallback cb) {
73
74
if(animation != null)
75
a.startAnimation(animation, null);
76
- else
+ else if(a.getRenderer().getAnimations().get(a.getId() + ".inventory") != null)
77
a.startAnimation(a.getId() + ".inventory", null);
78
79
World.getInstance().getInventory().addItem(a);
0 commit comments