Some i18nifiying
This commit is contained in:
parent
39576e3180
commit
f63b26ac76
31 changed files with 538 additions and 455 deletions
|
|
@ -53,7 +53,7 @@ namespace TShockAPI.Modules
|
|||
public void InitialiseModule(Type moduleType, object[] parameters)
|
||||
{
|
||||
if (!typeof(Module).IsAssignableFrom(moduleType))
|
||||
throw new NotSupportedException($"Cannot load module {moduleType.FullName} as it does not derive from {typeof(Module).FullName}");
|
||||
throw new NotSupportedException(GetString($"Cannot load module {moduleType.FullName} as it does not derive from {typeof(Module).FullName}"));
|
||||
|
||||
var args = new List<object>();
|
||||
ConstructorInfo constructor = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue