Skip to content

Commit 28fe59e

Browse files
committed
chore: Removed the association between TileObjectData and the specific server context
1 parent 96c5d3f commit 28fe59e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/OTAPI.UnifiedServerProcess/Core/Patching/FieldFilterPatching/ForceInstanceProcessor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ public class ForceInstanceProcessor() : IFieldFilterArgProcessor
1919
"Terraria.NPC.defaultMaxSpawns",
2020
"Terraria.NPC.defaultSpawnRate",
2121
};
22-
static readonly string[] types = new string[] {
23-
"Terraria.ObjectData.TileObjectData",
24-
};
22+
static readonly string[] types = [
23+
// "Terraria.ObjectData.TileObjectData",
24+
];
2525
public void Apply(LoggedComponent logger, ref FilterArgumentSource source) {
2626
foreach (var fieldId in fields) {
2727
if (source.UnmodifiedStaticFields.TryGetValue(fieldId, out var field) || source.InitialStaticFields.TryGetValue(fieldId, out field)) {

0 commit comments

Comments
 (0)