Fixed #6158
This commit is contained in:
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 |
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user