Merge pull request #181 from micdoodle8/patch-1
Fixed WorldProvider.setDimension() setting the wrong variable.
This commit is contained in:
commit
0d0ba4b2d5
1 changed files with 2 additions and 3 deletions
|
@ -33,7 +33,6 @@
|
|||
+
|
||||
+
|
||||
+ /*======================================= Forge Start =========================================*/
|
||||
+ private int dimensionID = 0;
|
||||
+
|
||||
+ /**
|
||||
+ * Sets the providers current dimension ID, used in default getSaveFolder()
|
||||
|
@ -43,7 +42,7 @@
|
|||
+ */
|
||||
+ public void setDimension(int dim)
|
||||
+ {
|
||||
+ this.dimensionID = dim;
|
||||
+ this.dimensionId = dim;
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
|
@ -53,7 +52,7 @@
|
|||
+ */
|
||||
+ public String getSaveFolder()
|
||||
+ {
|
||||
+ return (dimensionID == 0 ? null : "DIM" + dimensionID);
|
||||
+ return (dimensionId == 0 ? null : "DIM" + dimensionId);
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
|
|
Loading…
Reference in a new issue