Placement rendering cleanup
This commit is contained in:
@@ -154,6 +154,7 @@ public class DesktopInput extends InputHandler{
|
|||||||
}
|
}
|
||||||
drawRequest(lineRequests.get(i));
|
drawRequest(lineRequests.get(i));
|
||||||
}
|
}
|
||||||
|
lineRequests.each(this::drawOverRequest);
|
||||||
}else if(isPlacing()){
|
}else if(isPlacing()){
|
||||||
if(block.rotate){
|
if(block.rotate){
|
||||||
drawArrow(block, cursorX, cursorY, rotation);
|
drawArrow(block, cursorX, cursorY, rotation);
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ public class Drill extends Block{
|
|||||||
Tile tile = req.tile();
|
Tile tile = req.tile();
|
||||||
if(tile == null) return;
|
if(tile == null) return;
|
||||||
|
|
||||||
countOre(req.tile());
|
countOre(tile);
|
||||||
if(returnItem == null || !drawMineItem) return;
|
if(returnItem == null || !drawMineItem) return;
|
||||||
|
|
||||||
Draw.color(returnItem.color);
|
Draw.color(returnItem.color);
|
||||||
|
|||||||
Reference in New Issue
Block a user