This commit is contained in:
Anuken
2021-10-15 11:40:55 -04:00
parent d8cf65e24c
commit 9a5ac14bc3
5 changed files with 3 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -10,6 +10,7 @@ public class StaticTree extends StaticWall{
public StaticTree(String name){ public StaticTree(String name){
super(name); super(name);
variants = 0;
} }
@Override @Override

View File

@@ -25,6 +25,7 @@ public class PayloadBlock extends Block{
update = true; update = true;
sync = true; sync = true;
group = BlockGroup.payloads;
envEnabled |= Env.space; envEnabled |= Env.space;
} }

View File

@@ -1,7 +1,7 @@
package mindustry.world.meta; package mindustry.world.meta;
public enum BlockGroup{ public enum BlockGroup{
none, walls(true), projectors(true), turrets(true), transportation(true), power, liquids(true), drills, units, logic(true); none, walls(true), projectors(true), turrets(true), transportation(true), power, liquids(true), drills, units, logic(true), payloads(true);
/** if true, any block in this category replaces any other block in this category. */ /** if true, any block in this category replaces any other block in this category. */
public final boolean anyReplace; public final boolean anyReplace;