mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 17:19:05 +00:00
Revert "ScriptLogIgnoreType & PlayerLogging"
This reverts commit ac39e0a6d0.
This commit is contained in:
1 parent
361d210d1a
commit
fe4cc719d4
3 files changed
-64
No files matched your search
@@ -245,43 +245,6 @@ public class CustomNpcs {
|
||||
if (ScriptIgnoreTime < 0)
|
||||
ScriptIgnoreTime = 0;
|
||||
|
||||
try {
|
||||
String[] ignoreTypes = ScriptLogIgnoreType.split(",");
|
||||
for (String s : ignoreTypes) {
|
||||
EnumScriptType type = EnumScriptType.valueOfIgnoreCase(s);
|
||||
if(type != null){
|
||||
switch (type){
|
||||
case INIT:
|
||||
InitIgnore = true;
|
||||
case TICK:
|
||||
TickIgnore = true;
|
||||
case INTERACT:
|
||||
InteractIgnore = true;
|
||||
case DIALOG:
|
||||
DialogIgnore = true;
|
||||
case DAMAGED:
|
||||
DamagedIgnore = true;
|
||||
case KILLED:
|
||||
KilledIgnore = true;
|
||||
case ATTACK:
|
||||
AttackIgnore = true;
|
||||
case TARGET:
|
||||
TargetIgnore = true;
|
||||
case COLLIDE:
|
||||
CollideIgnore = true;
|
||||
case KILLS:
|
||||
KillsIgnore = true;
|
||||
case DIALOG_CLOSE:
|
||||
DialogCloseIgnore = true;
|
||||
case TIMER:
|
||||
TimerIgnore = true;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
} catch (Exception ignored) {}
|
||||
|
||||
EnchantInterface.load();
|
||||
CustomItems.load();
|
||||
|
||||
|
||||
Reference in new issue
Block a user