mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-28 07:22:21 -08:00
Minor cleanup / Tick reset fix
This commit is contained in:
parent
ca72541e4e
commit
50cb6b91e3
9 changed files with 71 additions and 18 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue