Where do I get the time from then? Bump. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
Thanks. I understand the code but have no clue where to put it. In my DayMTime class, lootSystem class or main class.
Sorry, I'm confused. Where would I put the if statement?
I'm trying to get the boolean to set to false on time 0. I already have a time system implemented that checks the time every tick and I would like...
Woops. Tried defining world like this but I get a syntax error on world on the first line. world = plugin.getServer().getWorld(worldName);...
So how does one go about fixing this?
My code doesn't change time when it's supposed to or at all for that matter. package me.yummyjuice.daym; import org.bukkit.World; import...
Ok it outputs in the console which proves it's working but it won't actually change the time.
It's further down in what I posted. What would my whole file look like with the scheduler aswell? Edit: I think I fixed it.
Thanks so far but I keep getting errors on public DayMTime run() { that say it's incompatiable with run()
I get an error when I change it to either of them. The second option wants to change run to a static and the first one gives me an error on...
Woops. I've changed the code all into one file now anyway but it still wont work. It's updated. Edit: My reply is waitng approval. It says: "I...
So in my code I can't get it to run my other class. DayM.java package me.yummyjuice.daym; import org.bukkit.World; import...
Separate names with a comma.