Minor cleanup / Tick reset fix

This commit is contained in:
Anuken 2022-02-13 14:44:10 -05:00
parent ca72541e4e
commit 50cb6b91e3
9 changed files with 71 additions and 18 deletions

View file

@ -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();
}