Jump to content
Sign in to follow this  
Cernu

UNDER REVIEW [YLD-27306] [YLD-27307] ignite/extinguish in inventory

Recommended Posts

I want the player to not be able to create fire. So I have an event that listen to ignite, and extinguish the item immediately. It works fine in exterior, but when I have flint lighter in the inventory, I can ignite a torch.

Share this post


Link to post
Share on other sites

it might be a bug, but I solved my problem with a tiny delay and despawn the burning torch, and spawn a torch.

Share this post


Link to post
Share on other sites

thanks for the tip, very usefull. However, it doesn't disable the buttons that appear from within the inventory. Like if I have a non lighted torch, and a flint lighter, I can still ignite the torch. Or is there a way to disable these buttons too ?

Share this post


Link to post
Share on other sites

That seems a ylands bug because you shouldnt be able to use the buttons. So, a solution could be using a event listener "On light" then use the tile Extinguish Entity. That way even they light the torch it will be automatically extinguished.

@Adam Snellgrovecould you look up on this? ?

Share this post


Link to post
Share on other sites

I tried everythings I could think of, this included. Not working. Buttons are not disabled

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×