Update patches/common/net/minecraft/src/WorldProvider.java.patch
Fixed WorldProvider.setDimension() setting the wrong variable.
This commit is contained in:
parent
b06829e26a
commit
d00f6f52bb
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