checkstyle fix

checkstyle fix
This commit is contained in:
Kyleeld
2019-07-02 13:34:35 +01:00
committed by GitHub
parent ffa85cbc79
commit d37a1767b2

View File

@@ -152,9 +152,12 @@ public class LootingBagViewerPlugin extends Plugin
if (!Strings.isNullOrEmpty(value.getText()))
{
if (value.getText().equals("Value: -")) {
if (value.getText().equals("Value: -"))
{
setValueToShow(-1);
} else {
}
else
{
String str = value.getText();
str = str.replace("Bag value: ", "")
.replace("Value: ", "")