mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-02 16:49:39 +01:00
Use the actions field.
This commit is contained in:
parent
af2b9fb2b5
commit
703740ea04
@ -35,7 +35,7 @@ public class DelayedActionsExecution {
|
|||||||
|
|
||||||
final long time = System.currentTimeMillis() / 1000L;
|
final long time = System.currentTimeMillis() / 1000L;
|
||||||
boolean cancel = false;
|
boolean cancel = false;
|
||||||
for (final Action action : violationData.getActions())
|
for (final Action action : actions)
|
||||||
if (Check.getHistory(violationData.player).executeAction(violationData, action, time))
|
if (Check.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
|
// The execution history said it really is time to execute the action, find out what it is and do
|
||||||
// what is needed.
|
// what is needed.
|
||||||
|
Loading…
Reference in New Issue
Block a user