This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DeadManSwitch implements Runnable{ | |
public static DeadManSwitch instance; | |
private Thread serverThread = null; | |
private MinecraftServer server = null; | |
private BlockingQueue<Long> queue = new ArrayBlockingQueue<Long>(); | |
public DeadManSwitch(MinecraftServer server, Thread serverThread){ | |
this.server = server; | |
this.serverThread = serverThread; |