Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (this.currentWorld != null)
- {
- //throw new RuntimeException("Already decorating!!"); // just comment this out
- }
- else
- {
- this.currentWorld = par1World;
- this.randomGenerator = par2Random;
- this.chunk_X = par3;
- this.chunk_Z = par4;
- this.decorate();
- this.currentWorld = null;
- this.randomGenerator = null;
- }
- // or
- //
- if(this.currentWorld == null)
- {
- this.currentWorld = par1World;
- this.randomGenerator = par2Random;
- this.chunk_X = par3;
- this.chunk_Z = par4;
- this.decorate();
- this.currentWorld = null;
- this.randomGenerator = null;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement