Jump to content

(1.9) Possible bug dealing with onPlayerDestroyItem


Recommended Posts

Hello.

 

To keep a long story short, I recently installed the Backpacks! mod by Brad16840 for Minecraft version 1.9. Installation, usage, and compatability with my other mods was fine, but the mod's auto-renewel system was not working. I contacted the mod owner, and he/she had this to say:

 

It works in 1.8.9 for all items, but with the new dual wielding introduced in 1.9 it seems a Forge dev has forgotten to call the onPlayerDestroyItem event when an item is destroyed in the EntityPlayer.interact method or in the EntityPlayer.attackTargetEntityWithCurrentItem method so my mod (and any mod that listens for that event) aren't being told anything.

 

So its a bug in Forge 1.9, I'd suggest you submit a bug report to Forge saying that the onPlayerDestroyItem event isn't being triggered in EntityPlayer.interact or in EntityPlayer.attackTargetEntityWithCurrentItem.

(Source: http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1291844-backpacks-by-brad16840?page=25#c502 on pg. 25 under my username).

 

If Forge developers could look into this, that be great, thank you.

 

Additional info about my Minecraft game:

 

-Version: 1.9

-Forge version: 1.9-12.16.1.1907

Mods installed (all for 1.9): FastLadder; Better HUD; GuideBook; Lux lighting; ModUtilsLib (compliments another mod); Optifine (1.9.0_HD_U_B3); Pam's Harvestcraft; SoundFilters; Backpacks! by Brad16840

-No crash reports, as the mod's never crashed my game.

Link to comment
Share on other sites

Its typically the modder's responsibility to report bugs to us because they are the ones who know the most about it and can provide the actual code context.

But whatever.

https://github.com/MinecraftForge/MinecraftForge/commit/6b8466778e23226e686bcd0c83769804541eac49

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

Its typically the modder's responsibility to report bugs to us because they are the ones who know the most about it and can provide the actual code context.

But whatever.

https://github.com/MinecraftForge/MinecraftForge/commit/6b8466778e23226e686bcd0c83769804541eac49

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.