From 6446cdc2b634b161e78302f6128b7a536e2d0da2 Mon Sep 17 00:00:00 2001 From: Zt Wang Date: Wed, 15 Feb 2017 21:13:20 +0800 Subject: [PATCH] Remove redundant codes --- TShockAPI/TShock.cs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 7a9ea983..481cb903 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -197,10 +197,8 @@ namespace TShockAPI //TShock handles this return OTAPI.HookResult.Cancel; }; - OTAPI.Hooks.Game.PostInitialize += () => - { - Main.SettingsUnlock_WorldEvil = true; - }; + + Main.SettingsUnlock_WorldEvil = true; TerrariaApi.Reporting.CrashReporter.HeapshotRequesting += CrashReporter_HeapshotRequesting;