Skip to content

Commit

Permalink
Fixed TickHandler mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Der-Zauberer committed Feb 4, 2022
1 parent f17af56 commit 4a22353
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/eu/derzauberer/javautils/handler/TickHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ private static void createAsyncTask(TickTask task, TimerTask timerTask, int tick
timerTask = new TimerTask() {
@Override
public void run() {
System.out.println(task.getRepeatsLetft());
if (task.decrementTicks() && !task.isRemoved()) {
task.getAction().run(task);
if(!task.isEndless() && task.decrementRepeats()) {
Expand Down

0 comments on commit 4a22353

Please sign in to comment.