I generated a World, now how do I set gameRules to that world ONLY?

Discussion in 'Plugin Development' started by Neilnet, Apr 11, 2015.

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

    Neilnet

    Okay, I generated a world.

    Code:
    world generatedWorld;
    
    how would I apply a gamerule to it, and that world only?

    Code:
    generatedWorld.applyGamerule(Gamerule.NATURAL_REGENERATION, false);
    
    Need your guys help.

    Cheers,
    Neil
     
Thread Status:
Not open for further replies.

Share This Page