Fix displaying of examine price without GE value
Fix displaying of : in item price when GE value is missing and only HA value is present. Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -266,13 +266,15 @@ public class ExaminePlugin extends Plugin
|
||||
}
|
||||
|
||||
message
|
||||
.append(itemComposition.getName());
|
||||
.append(itemComposition.getName())
|
||||
.append(ChatColorType.NORMAL)
|
||||
.append(":");
|
||||
|
||||
if (gePrice > 0)
|
||||
{
|
||||
message
|
||||
.append(ChatColorType.NORMAL)
|
||||
.append(": GE average ")
|
||||
.append(" GE average ")
|
||||
.append(ChatColorType.HIGHLIGHT)
|
||||
.append(String.format("%,d", gePrice));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user