Merge pull request #12 from cpw/fixworldgen
Fix worldgen doubleshifting in ModLoaderMP until SDK fixes it.
This commit is contained in:
commit
2a8a89ee14
1 changed files with 14 additions and 0 deletions
|
@ -105,6 +105,20 @@
|
||||||
Iterator var3 = inGameHooks.entrySet().iterator();
|
Iterator var3 = inGameHooks.entrySet().iterator();
|
||||||
|
|
||||||
while (var3.hasNext())
|
while (var3.hasNext())
|
||||||
|
@@ -863,11 +889,11 @@
|
||||||
|
|
||||||
|
if (var0 instanceof ChunkProviderGenerate)
|
||||||
|
{
|
||||||
|
- var10.generateSurface(var3, var4, var1 << 4, var2 << 4);
|
||||||
|
+ var10.generateSurface(var3, var4, var1, var2);
|
||||||
|
}
|
||||||
|
else if (var0 instanceof ChunkProviderHell)
|
||||||
|
{
|
||||||
|
- var10.generateNether(var3, var4, var1 << 4, var2 << 4);
|
||||||
|
+ var10.generateNether(var3, var4, var1, var2);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1111,6 +1137,12 @@
|
@@ -1111,6 +1137,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue