Server Crash

Discussion in 'Plugin Development' started by Niv-Mizzet, Nov 3, 2019.

Thread Status:
Not open for further replies.
  1. Offline


    My server has crashed. From what I can make out, when I generated an empty world using robertlit's instructions here:, It still generated normal chunks after a certain point. I thought it wouldn't be a problem, but apparently it is. The Crash Report is attached, and if there is a different meaning, please let me know.
    EDIT: I did change one thing in his code. It seems that "@Nonull" doesn't exist, so I used @NotNull

    Attached Files:

  2. Offline

    timtower Moderator Moderator

  3. Offline


    Right sry:
    import org.bukkit.Bukkit;
    import org.bukkit.ChatColor;
    import org.bukkit.Location;
    import org.bukkit.Material;
    import org.bukkit.World;
    import org.bukkit.WorldCreator;
    import org.bukkit.WorldType;
    import org.bukkit.block.Block;
    import org.bukkit.command.Command;
    import org.bukkit.command.CommandSender;
    import org.bukkit.entity.Player;
    import java.util.Random;
    import org.bukkit.World;
    import org.bukkit.generator.ChunkGenerator;
    import com.sun.istack.internal.NotNull;
    public class VoidCreator extends ChunkGenerator {
        public ChunkData generateChunkData(@NotNull World world, @NotNull Random random, int x, int z, @NotNull BiomeGrid biome) {
            return createChunkData(world);
    Implementation (Command inside of main class):
    case "createvoid":
                    //WorldCreator wc = new WorldCreator("Void");
                    //wc.generator(new VoidCreator());
                    //wc.createWorld();-all this was commented out because I had already created the world
                    player.teleport(new Location(Bukkit.getWorld("Void"), 0, 255, 0));
Thread Status:
Not open for further replies.

Share This Page