Advertisement
marcopolo1613

Untitled

Oct 28th, 2012
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.78 KB | None | 0 0
  1.         if (this.currentWorld != null)
  2.         {
  3.             //throw new RuntimeException("Already decorating!!"); // just comment this out
  4.         }
  5.         else
  6.         {
  7.             this.currentWorld = par1World;
  8.             this.randomGenerator = par2Random;
  9.             this.chunk_X = par3;
  10.             this.chunk_Z = par4;
  11.             this.decorate();
  12.             this.currentWorld = null;
  13.             this.randomGenerator = null;
  14.         }
  15. // or
  16. //
  17.         if(this.currentWorld == null)
  18.         {
  19.             this.currentWorld = par1World;
  20.             this.randomGenerator = par2Random;
  21.             this.chunk_X = par3;
  22.             this.chunk_Z = par4;
  23.             this.decorate();
  24.             this.currentWorld = null;
  25.             this.randomGenerator = null;
  26.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement