bump - still lags @The_Doctor_123
So i'm placing 1521 blocks, and obviously its going to lag. But i want to find the best way to place all of them blocks without the client/server...
So i originally had this all working, but i wanted to tidy up the code. So i wanted to put the method into its own class, but when i call that...
NathanWolf hayhaycrusher I changed it to rsheeptimer = Bukkit.getServer().getScheduler().scheduleSyncRepeatingTask(this.plugin, new Runnable() {...
I call the repeating task on start up, and get a null pointer. Code: public void startrsheep() { Line 523 -...
Thanks! i'll give it a try.
So, i am spawning a mob then saving there uuid to a arraylist. I have also made a for loop to go through the list, but in the for loop i want to...
Eclipse is happy with it now, but it dosnt even seem to be executing the code inside for(int z = -500; z == 500; z++){ EDIT: do you know any...
at "Wool" in (Wool (block.getData())).getColor() == DyeColor.RED) its saying to either change to dropwool(...) or to do createmethod...
Ha, silly mistake. I'll have a look. I wanna check if b = redwool not block. EDIT by Moderator: merged posts, please use the edit button...
So basically i want to cycle through big chunk of the world and check for red wool blocks. Then to remove the wool block and spawn a falling red...
I see its a null pointer exception, im just unsure how to fix it. I have to go now anyway, i'll be back in 1-2 hours.
package co.uk.mchgamerz.src.Events; import java.util.ArrayList; import java.util.List; import org.bukkit.Bukkit; import org.bukkit.ChatColor;...
Im using a scheduleSyncDelayedTask to give a 5 seconds delay. I get this error \/ ([world] 37.93754064487328, 68.0, 382.60852164674094)...
Oh shit, thanks i quikly read it wrong. i missed placed a bracket.
Separate names with a comma.