Chunk.load(true); is broken

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: Minor
    • None
    • Affects Version/s: None

      Chunk.load(true); Does not generate the chunk. It does nothing.
      Here is the proof:

          @EventHandler
          public void onT(PlayerChatEvent event) {
              Chunk c = event.getPlayer().getWorld().getChunkAt(Integer.parseInt(event.getMessage().split(",")[0]), Integer.parseInt(event.getMessage().split(",")[1]));
              long start = System.currentTimeMillis();
              c.load(true);
              System.out.println("Took " + (System.currentTimeMillis() - start) + " ms to generate chunk at " + c.getX() + ", " + c.getZ());
          }
      

      Outputs this: http://pastebin.com/ELgbXQxx

      As you can see in the log, chunk.load(true) takes 0ms to finish. Normally a chunk generating takes around 25ms.

            Assignee:
            Unassigned
            Reporter:
            Mark Cockram
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: