Skip to content

Commit

Permalink
Made ModTileEntity.Name property virtual (tModLoader#2951)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScalarVector1 authored Sep 20, 2022
1 parent b661ab5 commit cdc7fde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion patches/tModLoader/Terraria/ModLoader/ModTileEntity.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public abstract class ModTileEntity : TileEntity, IModType
/// <summary>
/// The internal name of this ModTileEntity.
/// </summary>
public string Name => GetType().Name;
public virtual string Name => GetType().Name;

public string FullName => $"{Mod.Name}/{Name}";

Expand Down

0 comments on commit cdc7fde

Please sign in to comment.