mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-02 00:29:59 +01:00
Fix actions not executing after cancel (careful with |= :) ).
This commit is contained in:
parent
cba9b777f9
commit
a528c08128
@ -104,7 +104,7 @@ public abstract class Check {
|
||||
if (getHistory(violationData.player).executeAction(violationData, action, time))
|
||||
// The execution history said it really is time to execute the action, find out what it is and do
|
||||
// what is needed.
|
||||
cancel = cancel || action.execute(violationData);
|
||||
if (action.execute(violationData)) cancel = true;
|
||||
|
||||
return cancel;
|
||||
} catch (final Exception e) {
|
||||
|
Loading…
Reference in New Issue
Block a user