Merge pull request #747 from WhiteXZ/patch-1

Adds a few missing blocks to creep checks
This commit is contained in:
MarioE 2014-02-14 19:15:10 -05:00
commit 3ef3fc097f

View file

@ -851,7 +851,8 @@ namespace TShockAPI
if (args.Handled) if (args.Handled)
return; return;
if (!Config.AllowCrimsonCreep && (args.Type == 0 || args.Type == 199 || args.Type == 203 || args.Type == 234)) if (!Config.AllowCrimsonCreep && (args.Type == 0 || args.Type == 199 || args.Type == 200 || args.Type == 203
|| args.Type == 234))
{ {
args.Handled = true; args.Handled = true;
return; return;
@ -864,7 +865,8 @@ namespace TShockAPI
return; return;
} }
if (!Config.AllowHallowCreep && (args.Type == 109 || args.Type == 117 || args.Type == 116)) if (!Config.AllowHallowCreep && (args.Type == 109 || args.Type == 117 || args.Type == 116 || args.Type == 115
|| args.Type == 164))
{ {
args.Handled = true; args.Handled = true;
} }