Fixed reconstructor commanding in multiplayer
This commit is contained in:
@@ -164,7 +164,7 @@ public class CoreBlock extends StorageBlock{
|
||||
}
|
||||
|
||||
@Override
|
||||
public void placeBegan(Tile tile, Block previous){
|
||||
public void placeBegan(Tile tile, Block previous, Unit builder){
|
||||
//finish placement immediately when a block is replaced.
|
||||
if(previous instanceof CoreBlock){
|
||||
tile.setBlock(this, tile.team());
|
||||
@@ -181,6 +181,8 @@ public class CoreBlock extends StorageBlock{
|
||||
|
||||
nextItems = null;
|
||||
}
|
||||
|
||||
Events.fire(new BlockBuildEndEvent(tile, builder, tile.team(), false, null));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user