Merge remote-tracking branch 'origin/master'

This commit is contained in:
Anuken
2020-10-26 11:52:37 -04:00

View File

@ -156,6 +156,7 @@ public class StackConveyor extends Block implements Autotiler{
if(bits[0] == 0 && blends(tile, rotation, 0) && !blends(tile, rotation, 2)) state = stateLoad; // a 0 that faces into a conveyor with none behind it if(bits[0] == 0 && blends(tile, rotation, 0) && !blends(tile, rotation, 2)) state = stateLoad; // a 0 that faces into a conveyor with none behind it
if(bits[0] == 0 && !blends(tile, rotation, 0) && blends(tile, rotation, 2)) state = stateUnload; // a 0 that faces into none with a conveyor behind it if(bits[0] == 0 && !blends(tile, rotation, 0) && blends(tile, rotation, 2)) state = stateUnload; // a 0 that faces into none with a conveyor behind it
if(!headless){
blendprox = 0; blendprox = 0;
for(int i = 0; i < 4; i++){ for(int i = 0; i < 4; i++){
@ -163,6 +164,7 @@ public class StackConveyor extends Block implements Autotiler{
blendprox |= (1 << i); blendprox |= (1 << i);
} }
} }
}
//update other conveyor state when this conveyor's state changes //update other conveyor state when this conveyor's state changes
if(state != lastState){ if(state != lastState){