Coding when stacked armor is dropped, its picked up stacked

Discussion in 'Plugin Development' started by LegendOfzLink, Feb 9, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    LegendOfzLink

    Hi Im trying to make a plugin so armor and tools are picked up stacked when they are dropped stacked. could anybody help me out here? My current code:
    Code:
    public class Main extends JavaPlugin implements Listener{
       
        public void onEnable() {
            getServer().getPluginManager().registerEvents(this, this);
          }
       
        @EventHandler
        public void onPlayerPickupArmour(PlayerPickupItemEvent e) {
     
Thread Status:
Not open for further replies.

Share This Page