mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-26 15:03:04 +00:00
Allow login packets to only generate on server based connections
Run injectSnapshot on the client thread, wait for result and disconnect when injectSnapshot fails. Fix DevServer to load MOD_CLASSES Fix LaunchTesting to properly load log4j2 markers (don't use a static variable in that class!) Signed-off-by: cpw <[email protected]>
This commit is contained in:
14 files changed
+127
-27
No files matched your search
@@ -79,7 +79,7 @@ public class ConfigTracker {
|
||||
this.configSets.get(type).forEach(config -> openConfig(config, configBasePath));
|
||||
}
|
||||
|
||||
public List<Pair<String, FMLHandshakeMessages.S2CConfigData>> syncConfigs() {
|
||||
public List<Pair<String, FMLHandshakeMessages.S2CConfigData>> syncConfigs(boolean isLocal) {
|
||||
final Map<String, byte[]> configData = configSets.get(ModConfig.Type.SERVER).stream().collect(Collectors.toMap(ModConfig::getFileName, mc -> { //TODO: Test cpw's LambdaExceptionUtils on Oracle javac.
|
||||
try {
|
||||
return Files.readAllBytes(mc.getFullPath());
|
||||
|
||||
Reference in new issue
Block a user