Hello, i want to know wich event i have to use for quit lava after some time, someone can help me?
Tthanks.
Tthanks.
Because he's asking a simple question and it's a nice thing to do?Why shall we help?
GlHello, i want to know wich event i have to use for quit lava after some time, someone can help me?
Tthanks.
Have you even tried?
op ofc or would have quoted you![]()
Pretty sure he wants lava to be cleared after a certain amount of time after being placed.If you could make the original post more clear, that would be appreciated. I'm not quite sure what you mean, and there are several ways to interpret it.
Pretty sure he wants lava to be cleared after a certain amount of time after being placed.
What I wanted to explain you is that i want to know is how to do that a bucket of lava removes after certain time
Sorry for my english and explanation, I speak spanish.[DOUBLEPOST=1492040117][/DOUBLEPOST]@EventHandler
public void bucket(PlayerBucketEmptyEvent e){
Material bucket = e.getBucket();
if(bucket.toString().equals("LAVA")){
Bukkit.getScheduler().scheduleSyncDelayedTask(main.instance, new Runnable(){
public void run()
{
//HERE I WANT TO REMOVE THE BUCKET (i think that this is not the event that i have to use)
}
}, 100L);
}
}
