Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by TimeVisualSales, May 26, 2015.
Hi there, is it possible to store the players item in hand in a hashmap if so, how would I do this?
HashMap<UUID, ItemStack> items = new HashMap<>();
Player p = yourplayer;
ItemStack inHand = items.get(p.getUniqueId());
Ow, I just realised I had that as well xD Thanks anyway.