mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-26 06:22:17 -08:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
60cb4a2a73
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ public class GenericCrafter extends Block{
|
|||
public void drawOverlay(float x, float y, int rotation){
|
||||
if(outputLiquids != null){
|
||||
for(int i = 0; i < outputLiquids.length; i++){
|
||||
int dir = liquidOutputDirections.length > i ? liquidOutputDirections[i] + rotation : -1;
|
||||
int dir = liquidOutputDirections.length > i && liquidOutputDirections[i]!=-1 ? liquidOutputDirections[i] + rotation : -1;
|
||||
|
||||
if(dir != -1){
|
||||
Draw.rect(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue