mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Remove expensive check
This commit is contained in:
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();
|
||||
|
||||
Reference in new issue
Block a user