This commit is contained in:
modmuss50
2023-01-24 16:59:43 +00:00
parent f8bf55319b
commit a1ccd7bfed
47 changed files with 149 additions and 129 deletions

View File

@@ -40,7 +40,7 @@ public class FabricRegistryClientInit implements ClientModInitializer {
RegistrySyncManager.receivePacket(client, packetHandler, buf, RegistrySyncManager.DEBUG || !client.isInSingleplayer(), (e) -> {
LOGGER.error("Registry remapping failed!", e);
client.execute(() -> handler.method_48296().disconnect(Text.literal("Registry remapping failed: " + e.getMessage())));
client.execute(() -> handler.getConnection().disconnect(Text.literal("Registry remapping failed: " + e.getMessage())));
}));
}
}