Coder Social home page Coder Social logo

Comments (9)

Iiridayn avatar Iiridayn commented on August 29, 2024

Update: works when the inventory is full and not deleting on a full inventory, so at least option 1/2 should definitely be possible. Perhaps a config setting would be adequate.

from autopickup.

Iiridayn avatar Iiridayn commented on August 29, 2024

I would prefer to have AutoPickup picking up mcMMO fishing drops - but this at least allows me to have both running at the same time.

from autopickup.

ThePhilderbeast avatar ThePhilderbeast commented on August 29, 2024

so looking at the MCMMO ticket you linked, their explanation makes no sense,

Auto pickup is hooking into the onItemDrop call and placing the items in the player's inventory, possibly we can lower the priority to let there call go first, but I can't see anywhere they have hooked the call themselves so I cant see this being the fix.

from autopickup.

Iiridayn avatar Iiridayn commented on August 29, 2024

Yeah - I believe they're also changing the item in the NOTIFY priority (final) handler, which the API docs say to not do - haven't dug deeper, but were they not I might have tried to reduce the priority of the event here and test that. As is, their event definitely fires after. I don't think Bukkit had autopickup/item replacement in mind when they designed the handler - the docs talk about event cancellation, but you don't cancel the event, you void the item instead.

from autopickup.

ThePhilderbeast avatar ThePhilderbeast commented on August 29, 2024

yea, to be honest, this needs to be fixed on the mcMMO side, so im less inclined to make a change here to accommodate their bad design.

changing the priority of our events is probably something that should be done regardless though.

from autopickup.

Iiridayn avatar Iiridayn commented on August 29, 2024

from autopickup.

ThePhilderbeast avatar ThePhilderbeast commented on August 29, 2024

closing this since it not a bug with Autopickup.

from autopickup.

Iiridayn avatar Iiridayn commented on August 29, 2024

This is a feature request for autopickup - and I have a patch that fixes it in a PR. Might not be the way you'd like it, but it works for my situation, and it seems of others. You mentioned a specific way you'd like to fix it - please leave this open until it is fixed in a manner to your satisfaction. Just because this is a feature request and not a bug, please do not close it. Again - there is a working solution in a PR!

from autopickup.

ThePhilderbeast avatar ThePhilderbeast commented on August 29, 2024

This can NOT be fixed in auto pickup, it needs to be fixed in MCmmo as its caused by the way they are dealing with the drops hence this issue is closed.

the options for turning things on and off will be dealt with as a separate feature request.

from autopickup.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.