mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-23 16:18:29 -05:00
Fix registry sync being applied when its not supposed to be.
Fixes #1217 Fixes #1216
This commit is contained in:
parent
a03e9879ac
commit
303b32e872
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ public class FabricRegistryClientInit implements ClientModInitializer {
|
|||
public void onInitializeClient() {
|
||||
ClientPlayNetworking.registerGlobalReceiver(RegistrySyncManager.ID, (client, handler, buf, responseSender) -> {
|
||||
// if not hosting server, apply packet
|
||||
RegistrySyncManager.receivePacket(client, buf, RegistrySyncManager.DEBUG || client.isInSingleplayer(), (e) -> {
|
||||
RegistrySyncManager.receivePacket(client, buf, RegistrySyncManager.DEBUG || !client.isInSingleplayer(), (e) -> {
|
||||
LOGGER.error("Registry remapping failed!", e);
|
||||
|
||||
client.execute(() -> {
|
||||
|
|
Loading…
Reference in a new issue