Jump to content

[1.8][SOLVED] Bow Event error?


NovaViper

Recommended Posts

Hey, I noticed the latest 1.8 forge has a bug in it with the bow events. The forge 11.14.0.1281 build doesn't have this bug but builds after this contain this bug. The bug is that when the I charge up a custom bow I made, the textures doesn't work but in the 11.14.0.1281 build, it does work. I extended the custom bow's class to the vanilla code and did nothing else to it but but in a code like this so my textures can work: http://pastebin.com/642ySU7s

 

I placed a debugger line so I can see what variables I am getting as I either hold the bow or charge it up.

From the latest build, I get this: http://pastebin.com/GEen92qq

 

But with the 11.14.0.1281 build I get this: http://pastebin.com/M03F2KmT

 

See how the numbers are different? Not sure why but it's some kind of internal bug within the code since the 11.14.0.1281 build. If these are needed, here are the client logs from both builds:

Latest Build: http://pastebin.com/MZFJYn7P

11.14.0.1281 Build: http://pastebin.com/jsmh0cnG

Main Developer and Owner of Zero Quest

Visit the Wiki for more information

If I helped anyone, please give me a applaud and a thank you!

Link to comment
Share on other sites

https://github.com/MinecraftForge/MinecraftForge/commit/64bf7bb3bef588d414561b638a945e8653df6dc5

Yes this was actually a bug FIX, the value passed in is meant to be the 'usageRemaing' and I was passing in the current usage.

Sorry for the issue, but this is the fix.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.