Moved assets outside of main project to avoid duplication and other fixes

This commit is contained in:
clodan
2025-01-21 20:39:52 +00:00
parent 3989fa5e58
commit 83d639bf47
296 changed files with 118 additions and 12 deletions
@@ -154,7 +154,7 @@ public class InventoryController(
_logger.Success($"Set trader {mailEvent.Entity}: Standing to: {mailEvent.Value}");
break;
case ProfileChangeEventType.ProfileLevel:
pmcData.Info.Experience = mailEvent.Value.Value;
pmcData.Info.Experience = (int) mailEvent.Value.Value;
// Will calculate level below
_traderHelper.ValidateTraderStandingsAndPlayerLevelForProfile(sessionId);
_logger.Success($"Set profile xp to: {mailEvent.Value}");
@@ -93,7 +93,7 @@ public record ProfileChangeEvent
public ProfileChangeEventType? Type { get; set; }
[JsonPropertyName("value")]
public int? Value { get; set; }
public double? Value { get; set; }
[JsonPropertyName("entity")]
public string? Entity { get; set; }
+1 -1
View File
@@ -154,7 +154,7 @@ public class DatabaseImporter : OnLoad
var validation = valid == ValidationResult.FAILED || valid == ValidationResult.NOT_FOUND ? "." : "";
_logger.Info($"{_localisationService.GetText("importing_database_finish")}{validation}");
_databaseServer.SetTables((DatabaseTables)dataToImport);
_databaseServer.SetTables(dataToImport);
}
protected void OnReadValidate(string fileWithPath, string data)

Some files were not shown because too many files have changed in this diff Show More