Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Custom Armor Effect not working properly


Recommended Posts

  • You do not own gamingtiger.com.
  • Why are you subscribing only on the client distribution? This makes it so your mod only works in single player.
  • You could make the logic a lot smarter. The event tells you which slot changed and what the previous and current stacks are. This tells you if you need to update or not, currently you just blindly update always, which will cause the potion effect to reset even for unrelated changes.
Link to post
Share on other sites

Thanks for the help. I changed the Dist.CLIENT to Dist.DEDICATED_SERVER. Also I changed the LivingEquipmentChangeEvent event to LivingEquipmentChangeEvent equippmentChangeEvent and it only happens when it is an armor change now, thanks for the help

 

Link to post
Share on other sites
8 hours ago, GamingTiger101 said:

Thanks for the help. I changed the Dist.CLIENT to Dist.DEDICATED_SERVER

Now your code does not work in single player.

8 hours ago, GamingTiger101 said:

Also I changed the LivingEquipmentChangeEvent event to LivingEquipmentChangeEvent equippmentChangeEvent and it only happens when it is an armor change now

What even?

Link to post
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.

Guest
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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.