Replacement method bugfixes
This commit is contained in:
@@ -2,6 +2,7 @@ package mindustry.entities.comp;
|
||||
|
||||
import arc.util.ArcAnnotate.*;
|
||||
import mindustry.annotations.Annotations.*;
|
||||
import mindustry.game.*;
|
||||
import mindustry.gen.*;
|
||||
|
||||
import static mindustry.Vars.tilesize;
|
||||
@@ -29,4 +30,14 @@ abstract class BlockUnitComp implements Unitc{
|
||||
public void damage(float v, boolean b){
|
||||
tile.damage(v, b);
|
||||
}
|
||||
|
||||
@Replace
|
||||
public boolean dead(){
|
||||
return tile.dead();
|
||||
}
|
||||
|
||||
@Replace
|
||||
public void team(Team team){
|
||||
tile.team(team);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user