/** * Sets the item on the cursor of one of the viewing players. * * @param item The item to put on the cursor, or null to remove the item * on their cursor. */ public final void setCursor(ItemStack item) { getPlayer().setItemOnCursor(item); }
/** * Sets the item on the cursor of one of the viewing players. * * @param item The item to put on the cursor, or null to remove the item * on their cursor. */ public final void setCursor(ItemStack item) { getPlayer().setItemOnCursor(item); }
@Override public void setItemOnCursor(MCItemStack item) { he.setItemOnCursor(((BukkitMCItemStack) item).asItemStack()); }
event.getPlayer().setItemOnCursor(new ItemStack(Material.AIR)); plugin.getTrackerKeeper().getArrangers().remove(uuid);
event.getWhoClicked().setItemOnCursor(result); break;