mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-25 22:58:47 +07:00
Update CoreBlock.java
This commit is contained in:
parent
77001324e9
commit
1a26a1bf63
@ -130,6 +130,14 @@ public class CoreBlock extends StorageBlock{
|
|||||||
return tile.entity instanceof StorageBlockEntity;
|
return tile.entity instanceof StorageBlockEntity;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float handleDamage(Tile tile, float amount){
|
||||||
|
it(player != null && tile.getTeam() == player.getTeam()){
|
||||||
|
Events.fire(Trigger.teamCoreDamage);
|
||||||
|
}
|
||||||
|
return amount;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean canBreak(Tile tile){
|
public boolean canBreak(Tile tile){
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user