Skip to content

Commit

Permalink
Make death event smarter
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 3, 2015
1 parent 0d90f34 commit 0602f0b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -159,7 +159,7 @@ public void entityDeath(EntityDeathEvent event) {
// XP
else if (aH.Argument.valueOf(determination)
.matchesPrimitive(aH.PrimitiveType.Integer)) {
int xp = Integer.valueOf(determination);
int xp = aH.Argument.valueOf(determination).asElement().asInt();
event.setDroppedExp(xp);
}

Expand Down

0 comments on commit 0602f0b

Please sign in to comment.