[Small Fix] Cursor On Enemy Block. (#2152)

* cursor fix

* mistake
This commit is contained in:
Summet
2020-06-07 21:56:41 +03:00
committed by GitHub
parent 6c00b2a0ff
commit 66f7198c7c

View File

@@ -995,7 +995,7 @@ abstract class TileComp implements Posc, Teamc, Healthc, Tilec, Timerc, QuadTree
/** Returns whether or not a hand cursor should be shown over this block. */
public Cursor getCursor(){
return block.configurable ? SystemCursor.hand : SystemCursor.arrow;
return block.configurable && tile.team() == player.team() ? SystemCursor.hand : SystemCursor.arrow;
}
/**