World.getGenerator() returns null?

Discussion in 'Plugin Development' started by ryanhamshire, Feb 18, 2012.

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

    ryanhamshire

    I'm calling this during a player interact event (right click on a block). My plan was to use the generator to shape a chunk in memory, then apply it to the world selectively.

    Anyway, it's returning null. WTF? Surely the default world has a generator.

    I'm on craftbukkit recommended 1.1 - R4. I also updated my bukkit.jar to the latest recommended.
     
  2. Offline

    flatd

    ryanhamshire the reason why it returns null is that because there is no class for the default world generator yet.
     
  3. Offline

    ryanhamshire

    Okay, so is there any way to get the byte[] data from the default generator for a specified chunk? Is there any way to call upon that code to get the result so I can accomplish my scenario?
     
Thread Status:
Not open for further replies.

Share This Page