Copy code from UnitType.java (#1916)

Support custom bottom region without scripting.
This commit is contained in:
MEEP of Faith 2020-04-25 18:10:36 -07:00 committed by GitHub
parent c875bb3f55
commit c7c638caa6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ public class Conduit extends LiquidBlock implements Autotiler{
liquidRegion = Core.atlas.find("conduit-liquid");
for(int i = 0; i < topRegions.length; i++){
topRegions[i] = Core.atlas.find(name + "-top-" + i);
botRegions[i] = Core.atlas.find("conduit-bottom-" + i);
botRegions[i] = Core.atlas.find(name + "-bottom-" + i, Core.atlas.find("conduit-bottom-" + i));
}
}