Add Evil Type option during world creation

This commit is contained in:
Zt Wang 2017-02-15 18:42:53 +08:00
parent e2d52a4cb6
commit fa6b5845f0

View file

@ -197,6 +197,10 @@ namespace TShockAPI
//TShock handles this
return OTAPI.HookResult.Cancel;
};
OTAPI.Hooks.Game.PostInitialize += () =>
{
Main.SettingsUnlock_WorldEvil = true;
};
TerrariaApi.Reporting.CrashReporter.HeapshotRequesting += CrashReporter_HeapshotRequesting;