mirror of
https://github.com/Anuken/Mindustry.git
synced 2026-01-25 05:51:47 -08:00
Method cleanup
This commit is contained in:
parent
c449302d28
commit
954e26fc14
16 changed files with 49 additions and 21 deletions
|
|
@ -402,7 +402,7 @@ public abstract class InputHandler implements InputProcessor, GestureListener{
|
|||
}
|
||||
}
|
||||
|
||||
for(BrokenBlock req : state.teams.get(player.getTeam()).brokenBlocks){
|
||||
for(BrokenBlock req : player.getTeam().data().brokenBlocks){
|
||||
Block block = content.block(req.block);
|
||||
if(block.bounds(req.x, req.y, Tmp.r2).overlaps(Tmp.r1)){
|
||||
drawSelected(req.x, req.y, content.block(req.block), Pal.remove);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue