mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 11:59:25 +00:00
Update patches/common/net/minecraft/src/WorldProvider.java.patch
Fixed WorldProvider.setDimension() setting the wrong variable.
This commit is contained in:
1 parent
b06829e26a
commit
d00f6f52bb
1 file changed
+2
-3
@@ -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);
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
|
||||
Reference in new issue
Block a user