mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-03-17 03:24:54 +07:00
Bugfixes
This commit is contained in:
parent
51bd74fcc1
commit
1de294cae5
@ -171,7 +171,7 @@ public class BuildBlock extends Block{
|
||||
return;
|
||||
}
|
||||
|
||||
if(entity.previous == null) return;
|
||||
if(entity.previous == null || entity.cblock == null) return;
|
||||
|
||||
if(Core.atlas.isFound(entity.previous.icon(mindustry.ui.Cicon.full))){
|
||||
Draw.rect(entity.previous.icon(Cicon.full), tile.drawx(), tile.drawy(), entity.previous.rotate ? tile.rotation() * 90 : 0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user