Bugfixes
This commit is contained in:
@@ -103,9 +103,8 @@ public class Floor extends Block{
|
||||
super.init();
|
||||
|
||||
if(wall == Blocks.air){
|
||||
wall = content.block(name + "Rocks");
|
||||
if(wall == null) wall = content.block(name + "rocks");
|
||||
if(wall == null) wall = content.block(name.replace("darksand", "dune") + "rocks");
|
||||
wall = content.block(name + "-wall");
|
||||
if(wall == null) wall = content.block(name.replace("darksand", "dune") + "-wall");
|
||||
}
|
||||
|
||||
//keep default value if not found...
|
||||
|
||||
@@ -14,7 +14,7 @@ public class BlockPayload implements Payload{
|
||||
public Building entity;
|
||||
|
||||
public BlockPayload(Block block, Team team){
|
||||
this.entity = block.newEntity().create(block, team);
|
||||
this.entity = block.newBuilding().create(block, team);
|
||||
}
|
||||
|
||||
public BlockPayload(Building entity){
|
||||
|
||||
Reference in New Issue
Block a user