Scale stack conveyor edge regions for requests (#1981)

This commit is contained in:
Patrick 'Quezler' Mounier 2020-05-04 16:03:50 +02:00 committed by GitHub
parent c920902481
commit 440226fecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ public class StackConveyor extends Block implements Autotiler{
for(int i = 0; i < 4; i++){
if((bits[3] & (1 << i)) == 0){
Draw.rect(edgeRegion, req.drawx(), req.drawy(), (req.rotation - i) * 90);
Draw.rect(edgeRegion, req.drawx(), req.drawy(), region.getWidth() * Draw.scl * req.animScale, region.getHeight() * Draw.scl * req.animScale, (req.rotation - i) * 90);
}
}
}