Skip to content

Commit

Permalink
Actually, drop part of previous fix
Browse files Browse the repository at this point in the history
Doesn't apply here.
  • Loading branch information
mcmonkey4eva committed Dec 7, 2016
1 parent fc14ce4 commit ef6b8c3
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -382,15 +382,12 @@ public void run() {
if (event.cancelled) {
inventory.setResult(null);
}
else if (event.resultChanged) {
else {
// If this was a valid match, set the crafting's result
inventory.setResult(event.result.getItemStack());
}

// Update the player's inventory
//
// TODO: Replace with non-deprecated method once one
// is added to Bukkit
player.updateInventory();
}
}
Expand Down

0 comments on commit ef6b8c3

Please sign in to comment.