mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-10-01 02:30:40 +03:00
Minor cleanup / Tick reset fix
This commit is contained in:
@@ -81,7 +81,7 @@ public class PowerTestFixture{
|
||||
Tile tile = new Tile(x, y);
|
||||
|
||||
//workaround since init() is not called for custom blocks
|
||||
if(block.consumes.all() == null){
|
||||
if(block.consumes.all == null || block.consumes.all.length == 0){
|
||||
block.consumes.init();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user