Use the actions field.

This commit is contained in:
asofold 2012-09-08 23:39:23 +02:00
parent af2b9fb2b5
commit 703740ea04

View File

@ -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.