Dropping items are going in to equipment..

Discussion in 'Plugin Development' started by evilskyx3, Dec 22, 2012.

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

    evilskyx3

    Hello guys, on my server i've got a problem.
    if my players drop items they will WEAR them, as pants as boots or whatever.

    My question is, does someone got a fix for this / does anyone know how to fix it?

    Greetings Evilskyx3
     
  2. Offline

    ImDeJay

    seems to me like you've got a plugin somewhere that is causing this?

    what plugins are you running?
     
  3. Offline

    evilskyx3

    CraftBukkitUpToDate, Zav Automessager, Anticheat, xAuth, Essentials, PremissionsEX, Combat Log, TimeIsMoney, Factions, ChestShop, AutoSaveWorld, ModifyWorld
    that's all but, Essentials = Essentials Spawn, Essentials Chat, Essentials, Essentials Protect
     
  4. Offline

    ImDeJay

    I dont know alot about any of those plugins but, someone will linger into this topic that does, one of those plugins may be the cause of your problem.
     
  5. Offline

    evilskyx3

    could AntiCheat be the problem?
     
  6. Offline

    william9518

    okay... Do this:
    Code:
    @EventHandler(priority = EventPriority.HIGHEST)
    public void dropItemFix(PlayerDropItemEvent event){
    event.getPlayer().getWorld().dropItem(event.getPlayer().getLocation(), event.getPlayer().getItemInHand());
    }
    if you are not asking for code, move to Bukkit Help
     
  7. Offline

    chasechocolate

    Probably should add a velocity to the item to make it look like it got thrown.
     
  8. Offline

    evilskyx3


    Thanks mate, i've seen the problem :)
    Greetings Evilskyx3
     
Thread Status:
Not open for further replies.

Share This Page