mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-21 04:22:32 +00:00
Fix #1246 Greenhouse control redstone logic is inverted
This commit is contained in:
1 parent
32f295b16c
commit
2f06c777b2
1 file changed
+1
-1
@@ -42,7 +42,7 @@ public class TileGreenhouseControl extends TileGreenhouse implements IGreenhouse
|
||||
|
||||
@Override
|
||||
public <G extends IGreenhouseController & IGreenhouseHousing> boolean canWork(G greenhouse, boolean canWork) {
|
||||
return canWork && hasRedstoneSignal();
|
||||
return canWork && !hasRedstoneSignal();
|
||||
}
|
||||
|
||||
private boolean hasRedstoneSignal() {
|
||||
|
||||
Reference in new issue
Block a user