Skip to content

Commit

Permalink
Fix implicit narrowing conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
paulyhedral committed Nov 24, 2024
1 parent c1dbeb5 commit 0866d2d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ public class CraftQueueOverlay {
// SECTION: intermediates

if(!mgr.getIntermediates().isEmpty()) {
yPos += (TEXT_HEIGHT * 1.5);
yPos += (int) (TEXT_HEIGHT * 1.5);
CraftTracker.LOGGER.trace("yPos (before intermediates title): {}", yPos);

// title
Expand Down Expand Up @@ -143,7 +143,7 @@ public class CraftQueueOverlay {
// SECTION: raw materials

if(!mgr.getRawMaterials().isEmpty()) {
yPos += (TEXT_HEIGHT * 1.5);
yPos += (int) (TEXT_HEIGHT * 1.5);
CraftTracker.LOGGER.trace("yPos (before materials title): {}", yPos);

// title
Expand Down Expand Up @@ -194,7 +194,7 @@ public class CraftQueueOverlay {
// SECTION: fuel

if(!mgr.getFuel().isEmpty()) {
yPos += (TEXT_HEIGHT * 1.5);
yPos += (int) (TEXT_HEIGHT * 1.5);
CraftTracker.LOGGER.trace("yPos (before fuel title): {}", yPos);

// title
Expand Down

0 comments on commit 0866d2d

Please sign in to comment.