Implemented block input sync, cursor bugfix

This commit is contained in:
Anuken
2018-06-10 14:29:29 -04:00
parent 5c98283932
commit 0ef76aa66d
6 changed files with 93 additions and 29 deletions

View File

@@ -125,7 +125,7 @@ public abstract class InputHandler extends InputAdapter{
//consume tap event if necessary
if(tile.getTeam() == player.getTeam() && tile.block().consumesTap){
consumed = true;
}else if(tile.getTeam() == player.getTeam() && tile.block().synthetic() && tile.block().hasItems){
}else if(tile.getTeam() == player.getTeam() && tile.block().synthetic() && tile.block().hasItems && !consumed){
frag.inv.showFor(tile);
consumed = true;
showedInventory = true;