Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
xzxADIxzx committed Oct 1, 2021
1 parent a2d325b commit 98cca9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/input/ModDesktopInput.java
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,9 @@ void pollInput(){
// Place Core
if(input.keyTap(ModBinding.place_core)){
var tile = world.tiles.get(player.tileX(), player.tileY());
tile == null ? ; : tile.setBlock(Blocks.coreShard, player.team());
if(tile != null){
tile.setBlock(Blocks.coreShard, player.team());
}
}

// Look At
Expand Down

0 comments on commit 98cca9d

Please sign in to comment.