SyncController

This commit is contained in:
Kam committed 2025-01-30 09:26:10 -05:00
1 parent ee8527f261
commit fb496ce1e2
12 files changed
+24 -53

No files matched your search

@@ -5,7 +5,7 @@ import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent;
import cpw.mods.fml.common.gameevent.TickEvent;
import cpw.mods.fml.relauncher.Side;
import kamkeel.npcs.controllers.SyncMaster;
import kamkeel.npcs.controllers.SyncController;
import net.minecraft.entity.Entity;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.EntityPlayerMP;
@@ -63,7 +63,7 @@ public class ScriptPlayerEventHandler {
PlayerData playerData = PlayerDataController.Instance.getPlayerData(player);
if(playerData.updateClient) {
SyncMaster.syncPlayerData((EntityPlayerMP)player, true);
SyncController.syncPlayerData((EntityPlayerMP)player, true);
playerData.updateClient = false;
}