Remove unused chunkunload event

This commit is contained in:
Thijs Wiefferink 2018-03-09 11:08:01 +01:00
parent c82067ad0b
commit 51161fffee

View File

@ -27,7 +27,6 @@ import org.bukkit.event.block.BlockPhysicsEvent;
import org.bukkit.event.block.SignChangeEvent;
import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.event.world.ChunkLoadEvent;
import org.bukkit.event.world.ChunkUnloadEvent;
import java.util.ArrayList;
import java.util.Collections;
@ -492,11 +491,6 @@ public class SignsFeature extends RegionFeature {
Do.forAll(chunkSigns, RegionSign::update);
}
@EventHandler(priority = EventPriority.MONITOR)
public void onChunkUnload(ChunkUnloadEvent event) {
List<RegionSign> chunkSigns = signsByChunk.get(chunkToString(event.getChunk()));
}
/**
* Update all signs connected to this region.
* @return true if all signs are updated correctly, false if one or more updates failed