Delete WorldUpdateTask.java

This commit is contained in:
Daniel Saukel 2019-02-23 21:59:05 +01:00
parent 69590fc507
commit fc2ffff756

View File

@ -1,41 +0,0 @@
/*
* Copyright (C) 2012-2019 Frank Baumann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package de.erethon.dungeonsxl.world;
import de.erethon.dungeonsxl.DungeonsXL;
import org.bukkit.scheduler.BukkitRunnable;
/**
*
* @author Daniel Saukel
*/
public class WorldUpdateTask extends BukkitRunnable {
private DungeonsXL plugin;
public WorldUpdateTask(DungeonsXL plugin) {
this.plugin = plugin;
}
@Override
public void run() {
for (DGameWorld gameWorld : plugin.getDWorldCache().getGameWorlds()) {
gameWorld.update();
}
}
}