diff --git a/Data/Scripts/PaintGun/Features/Palette/Palette.cs b/Data/Scripts/PaintGun/Features/Palette/Palette.cs index ec8243c..ebdaff5 100644 --- a/Data/Scripts/PaintGun/Features/Palette/Palette.cs +++ b/Data/Scripts/PaintGun/Features/Palette/Palette.cs @@ -437,6 +437,9 @@ void CheckLocalPaletteChanges() if(!Main.CheckPlayerField.Ready) return; + if (MyAPIGateway.Session.Player == null) + return; + List newColors = MyAPIGateway.Session.Player.BuildColorSlots; IReadOnlyList storedColors = LocalInfo.ColorsMasks;