mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-15 17:45:06 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e08c63b57b | ||
|
|
db1e2c863d | ||
|
|
ea7be67db2 | ||
|
|
6144650579 |
No files matched your search
@@ -34,7 +34,7 @@ class ChunkIOProvider implements AsynchronousExecutor.CallBackProvider<QueuedChu
|
|||||||
public void callStage2(QueuedChunk queuedChunk, net.minecraft.world.chunk.Chunk chunk) throws RuntimeException {
|
public void callStage2(QueuedChunk queuedChunk, net.minecraft.world.chunk.Chunk chunk) throws RuntimeException {
|
||||||
if(chunk == null) {
|
if(chunk == null) {
|
||||||
// If the chunk loading failed just do it synchronously (may generate)
|
// If the chunk loading failed just do it synchronously (may generate)
|
||||||
queuedChunk.provider.loadChunk(queuedChunk.x, queuedChunk.z);
|
queuedChunk.provider.originalLoadChunk(queuedChunk.x, queuedChunk.z);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -271,12 +271,14 @@ public class ConfigCategory implements Map<String, Property>
|
|||||||
write(out, pad0, COMMENT_SEPARATOR, NEW_LINE);
|
write(out, pad0, COMMENT_SEPARATOR, NEW_LINE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
String displayName = name;
|
||||||
|
|
||||||
if (!allowedProperties.matchesAllOf(name))
|
if (!allowedProperties.matchesAllOf(name))
|
||||||
{
|
{
|
||||||
name = '"' + name + '"';
|
displayName = '"' + name + '"';
|
||||||
}
|
}
|
||||||
|
|
||||||
write(out, pad0, name, " {");
|
write(out, pad0, displayName, " {");
|
||||||
|
|
||||||
Property[] props = getOrderedValues().toArray(new Property[] {});
|
Property[] props = getOrderedValues().toArray(new Property[] {});
|
||||||
|
|
||||||
@@ -421,4 +423,4 @@ public class ConfigCategory implements Map<String, Property>
|
|||||||
changed = true;
|
changed = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user