diff --git a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandbook.java b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandbook.java index bec93ba1c..a6a87499b 100644 --- a/Essentials/src/main/java/com/earth2me/essentials/commands/Commandbook.java +++ b/Essentials/src/main/java/com/earth2me/essentials/commands/Commandbook.java @@ -25,7 +25,7 @@ public class Commandbook extends EssentialsCommand { @Override public void run(final Server server, final User user, final String commandLabel, final String[] args) throws Exception { - final ItemStack item = user.getItemInHand(); + final ItemStack item = Inventories.getItemInMainHand(user.getBase()); final String player = user.getName(); if (item.getType() == Material.WRITTEN_BOOK) { final BookMeta bmeta = (BookMeta) item.getItemMeta();