Changed crucible quality to only display integers
This commit is contained in:
@@ -261,7 +261,7 @@ public class EasyGiantsFoundryPlugin extends Plugin
|
|||||||
if (event.getMenuOption().equals("Pour"))
|
if (event.getMenuOption().equals("Pour"))
|
||||||
{
|
{
|
||||||
// add persistent game message of the alloy value so user can reference later.
|
// add persistent game message of the alloy value so user can reference later.
|
||||||
client.addChatMessage(ChatMessageType.GAMEMESSAGE, "", "The quality of the alloy poured is " + state.getCrucibleQuality(), null);
|
client.addChatMessage(ChatMessageType.GAMEMESSAGE, "", "The quality of the alloy poured is " + (int) state.getCrucibleQuality(), null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ public class FoundryOverlay3D extends Overlay
|
|||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
String text = String.format("%d/%d quality: %.1f", state.getCrucibleCount(), CRUCIBLE_CAPACITY, state.getCrucibleQuality());
|
String text = String.format("%d/%d quality: %d", state.getCrucibleCount(), CRUCIBLE_CAPACITY, (int)state.getCrucibleQuality());
|
||||||
|
|
||||||
LocalPoint crucibleLoc = crucible.getLocalLocation();
|
LocalPoint crucibleLoc = crucible.getLocalLocation();
|
||||||
crucibleLoc = new LocalPoint(crucibleLoc.getX() - 100, crucibleLoc.getY());
|
crucibleLoc = new LocalPoint(crucibleLoc.getX() - 100, crucibleLoc.getY());
|
||||||
|
|||||||
Reference in New Issue
Block a user