Giter Site home page Giter Site logo

Comments (8)

runescapejon avatar runescapejon commented on July 28, 2024

I will fix it asap! once i get home from work 💃

from adventurebackpack2.

runescapejon avatar runescapejon commented on July 28, 2024

Looks like I'm going home late can you do me a favor and write the code here or make a pull request so i can add it once i get home its around 4 am here and still at work

from adventurebackpack2.

runescapejon avatar runescapejon commented on July 28, 2024

yea i had added that code in there and i have no clue how to fix this problem
https://gyazo.com/19554c49340df1fc707e9cbcc8abe182
it have blockAdventureBackpack.name and it have the wrong ID

from adventurebackpack2.

Darkhax avatar Darkhax commented on July 28, 2024

@runescapejon are you referring to the wrong item name showing up on the HUD? If so, that is unrelated to this issue. This issue is related to a NullPointerException that happens while looking at the block in your inventory.

The broken translation name is due to an issue with your unlocalized block name not matching the one in your language file. You set the unlocalized name to blockAdventureBackpack.name but the language file has it listed as block.adventurebackpack:AdventureBackpack.name. There isn't anything I can do about this other than opening up a new pull request, although you should be more than capable of fixing it yourself. Here is the link to the exact code causing the issue.

You might want to merge my PR first. not sure if you fixing the naming issue will cause merge conflicts.

from adventurebackpack2.

runescapejon avatar runescapejon commented on July 28, 2024

i had already did block.adventurebackpack:AdventureBackpack.name in en_US.lang and it didn't fix the problem

from adventurebackpack2.

Darkhax avatar Darkhax commented on July 28, 2024

The issue is that it is not looking for that localization key. If you look at the link I included in my post, you have it set to look for blockAdventureBackpack.name which is not in your file.

from adventurebackpack2.

runescapejon avatar runescapejon commented on July 28, 2024

got it https://gyazo.com/279b91ac48d375d0ee48bc78b995f694
but the id's are wrong but whatever xD

from adventurebackpack2.

runescapejon avatar runescapejon commented on July 28, 2024

Fixed https://github.com/runescapejon/AdventureBackpack2/releases :D thanks

from adventurebackpack2.

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.