Fixed #8787
This commit is contained in:
@@ -37,7 +37,7 @@ public class DrawTurret extends DrawBlock{
|
||||
part.getOutlines(out);
|
||||
}
|
||||
|
||||
if(block.region.found() && !(block.outlinedIcon > 0 && block.getGeneratedIcons()[block.outlinedIcon].equals(block.region))){
|
||||
if(block.region.found() && !(block.outlinedIcon > 0 && block.outlinedIcon < block.getGeneratedIcons().length && block.getGeneratedIcons()[block.outlinedIcon].equals(block.region))){
|
||||
out.add(block.region);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package mindustry.world.meta;
|
||||
|
||||
public enum BlockGroup{
|
||||
none, walls(true), projectors(true), turrets(true), transportation(true), power, liquids(true), drills, units, logic(true), payloads(true);
|
||||
none, walls(true), projectors(true), turrets(true), transportation(true), power, liquids(true), drills, units, logic(true), payloads(true), heat(true);
|
||||
|
||||
/** if true, any block in this category replaces any other block in this category. */
|
||||
public final boolean anyReplace;
|
||||
|
||||
Reference in New Issue
Block a user