Giter Site home page Giter Site logo

Working with playerheads about if HOT 7 CLOSED

stefvanschie avatar stefvanschie commented on June 1, 2024
Working with playerheads

from if.

Comments (7)

stefvanschie avatar stefvanschie commented on June 1, 2024 1

IF just does a normal ItemStack#equals comparison on the item that was clicked and the item in the inventory. If that check leads to incorrect results, then that's probably a Bukkit/Spigot/Paper issue, since IF doesn't change that check in anyway. In that case, you'd be better off making a bug report on there.

Regardless, pull request #29 changes how item clicking is handled internally, since the previous system didn't quite work like it should. I could be mistaken, but I think this would solve your issue (as well as #26).

I'll leave this open for now and hopefully #29 fixes the issue.

from if.

stefvanschie avatar stefvanschie commented on June 1, 2024

Could you show the code that causes this issue and specify which Minecraft version you're testing this one?

from if.

Plajer avatar Plajer commented on June 1, 2024

Possibly related to #26, check my fork where I removed equality check in order to fix that.

edit nvm i didnt push changes to the fork but you just can remove itemstack equals method in gui types

from if.

prosavage avatar prosavage commented on June 1, 2024

I simply run skull#setOwner() to create the item.

from if.

prosavage avatar prosavage commented on June 1, 2024

@Plajer I will check it out soon.

from if.

Plajer avatar Plajer commented on June 1, 2024

Thanks for info, will check this out once I'm home and tell if issue is fixed.

from if.

stefvanschie avatar stefvanschie commented on June 1, 2024

0.5.9 is now out, that should hopefully fix this and #26.

from if.

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.