Remove expensive check

This commit is contained in:
Nedelosk committed 2017-09-18 15:26:03 +02:00
1 parent aa52b063b7
commit c3ff59fbfb
1 file changed
+2 -2
@@ -34,7 +34,7 @@ public class ChunkEvents {
return;
}
if (GreenhouseBlockManager.getThread() == null || !GreenhouseBlockManager.getThread().isAlive()) {
if (GreenhouseBlockManager.getThread() == null) {
Thread climateThread = new Thread(new ChunkThread(false), "Forestry Greenhouse");
GreenhouseBlockManager.setThread(climateThread, false);
climateThread.start();
@@ -47,7 +47,7 @@ public class ChunkEvents {
return;
}
if (GreenhouseBlockManager.getClientThread() == null || !GreenhouseBlockManager.getClientThread().isAlive()) {
if (GreenhouseBlockManager.getClientThread() == null) {
Thread climateThread = new Thread(new ChunkThread(true), "Forestry Greenhouse Client");
GreenhouseBlockManager.setThread(climateThread, true);
climateThread.start();