Add Evil Type option during world creation
This commit is contained in:
parent
e2d52a4cb6
commit
fa6b5845f0
1 changed files with 17 additions and 13 deletions
|
|
@ -197,6 +197,10 @@ namespace TShockAPI
|
||||||
//TShock handles this
|
//TShock handles this
|
||||||
return OTAPI.HookResult.Cancel;
|
return OTAPI.HookResult.Cancel;
|
||||||
};
|
};
|
||||||
|
OTAPI.Hooks.Game.PostInitialize += () =>
|
||||||
|
{
|
||||||
|
Main.SettingsUnlock_WorldEvil = true;
|
||||||
|
};
|
||||||
|
|
||||||
TerrariaApi.Reporting.CrashReporter.HeapshotRequesting += CrashReporter_HeapshotRequesting;
|
TerrariaApi.Reporting.CrashReporter.HeapshotRequesting += CrashReporter_HeapshotRequesting;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue