Skip to content

Commit

Permalink
Fix worldscript error, fixes #426
Browse files Browse the repository at this point in the history
... how did this even...

Whoever made this, please test code you add before committing!
  • Loading branch information
mcmonkey4eva committed Sep 22, 2013
1 parent bda8f74 commit 12c0f0c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -3446,7 +3446,7 @@ public void playerInteractEntity(PlayerInteractEntityEvent event) {
itemMaterial.identify());

if (entity.getBukkitEntity() instanceof ItemFrame) {
dItem itemFrame = new dItem(((ItemFrame) entity).getItem());
dItem itemFrame = new dItem(((ItemFrame) entity.getBukkitEntity()).getItem());
dMaterial itemFrameMaterial = itemFrame.getMaterial();
context.put("itemframe", itemFrame);

Expand Down

0 comments on commit 12c0f0c

Please sign in to comment.