Skip to content

Commit

Permalink
Update BlocksRegistry.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tides committed Dec 7, 2023
1 parent 40a1195 commit 7cd8d9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Obsidian/Registries/BlocksRegistry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ private static string GetSanitizedName(string value)
{
var sanitizedBlockName = value;
if (sanitizedBlockName == "Obsidian")
sanitizedBlockName = $"{value}Block";
sanitizedBlockName = "ObsidianBlock";
if (sanitizedBlockName == "TrialSpawner")
sanitizedBlockName = "TrialSpawnerBlock";

return sanitizedBlockName;
}
Expand Down

0 comments on commit 7cd8d9e

Please sign in to comment.