/** * Get the item on the cursor of one of the viewing players. * * @return The item on the player's cursor, or null if they aren't holding * one. */ public final ItemStack getCursor() { return getPlayer().getItemOnCursor(); }
/** * Get the item on the cursor of one of the viewing players. * * @return The item on the player's cursor, or null if they aren't holding * one. */ public final ItemStack getCursor() { return getPlayer().getItemOnCursor(); }
@Override public MCItemStack getItemOnCursor() { return new BukkitMCItemStack(he.getItemOnCursor()); }