Remove... whatever this is

This commit is contained in:
Daniel Saukel 2020-03-20 21:09:53 +01:00
parent 56ef3dd202
commit 2e26fe7d7c
3 changed files with 0 additions and 46 deletions

View File

@ -1,38 +0,0 @@
/*
* Copyright (C) 2012-2020 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.sign;
import org.bukkit.block.Sign;
import org.bukkit.scheduler.BukkitRunnable;
/**
* @author Milan Albrecht, Daniel Saukel
*/
public class SignUpdateTask extends BukkitRunnable {
private Sign sign;
public SignUpdateTask(Sign sign) {
this.sign = sign;
}
@Override
public void run() {
sign.update();
}
}

View File

@ -22,7 +22,6 @@ import de.erethon.dungeonsxl.api.sign.DungeonSign;
import de.erethon.dungeonsxl.api.sign.Passive;
import de.erethon.dungeonsxl.api.world.InstanceWorld;
import de.erethon.dungeonsxl.player.DPermission;
import de.erethon.dungeonsxl.sign.SignUpdateTask;
import de.erethon.dungeonsxl.trigger.InteractTrigger;
import de.erethon.dungeonsxl.world.DGameWorld;
import java.util.HashSet;
@ -92,9 +91,6 @@ public class InteractSign extends Passive {
}
getSign().setLine(1, String.valueOf(id));
new SignUpdateTask(getSign()).runTaskLater(api, 2L);
return true;
}

View File

@ -22,7 +22,6 @@ import de.erethon.dungeonsxl.api.sign.DungeonSign;
import de.erethon.dungeonsxl.api.sign.Rocker;
import de.erethon.dungeonsxl.api.world.InstanceWorld;
import de.erethon.dungeonsxl.player.DPermission;
import de.erethon.dungeonsxl.sign.SignUpdateTask;
import de.erethon.dungeonsxl.trigger.SignTrigger;
import de.erethon.dungeonsxl.world.DGameWorld;
import java.util.HashSet;
@ -91,9 +90,6 @@ public class TriggerSign extends Rocker {
}
getSign().setLine(1, String.valueOf(id));
new SignUpdateTask(getSign()).runTaskLater(api, 2L);
return true;
}