Fork of Poseidon providing Bukkit #1060 to older Beta versions (b1.0-b1.7.3)
at develop 24 lines 546 B view raw
1package net.minecraft.server; 2 3public class ThreadSleepForever extends Thread { 4 5 final MinecraftServer a; 6 7 public ThreadSleepForever(MinecraftServer minecraftserver) { 8 this.a = minecraftserver; 9 this.setDaemon(true); 10 this.start(); 11 } 12 13 public void run() { 14 while (true) { 15 try { 16 while (true) { 17 Thread.sleep(2147483647L); 18 } 19 } catch (InterruptedException interruptedexception) { 20 ; 21 } 22 } 23 } 24}