From c10493cb11360b1f6c07142b85f0ddb013d7303f Mon Sep 17 00:00:00 2001 From: benamaurer Date: Wed, 30 Aug 2023 02:25:26 +0000 Subject: [PATCH] Update src/main/java/com/zerohighdef/geoffrey/Objects/GeoffreyAPICallback.java Changing from getFirstItem() to getInfoString() so that each shop can return more than one result in selling_list. --- .../com/zerohighdef/geoffrey/Objects/GeoffreyAPICallback.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/zerohighdef/geoffrey/Objects/GeoffreyAPICallback.java b/src/main/java/com/zerohighdef/geoffrey/Objects/GeoffreyAPICallback.java index d02944e..b9cf997 100644 --- a/src/main/java/com/zerohighdef/geoffrey/Objects/GeoffreyAPICallback.java +++ b/src/main/java/com/zerohighdef/geoffrey/Objects/GeoffreyAPICallback.java @@ -78,7 +78,7 @@ public abstract class GeoffreyAPICallback implements ICallback { stringBuilder.append(geoffreyShop.getFormattedLocationString()); stringBuilder.append("\n"); - stringBuilder.append(geoffreyShop.getFirstItem().getFormattedItemListing()); + stringBuilder.append(geoffreyShop.getInfoString().getFormattedItemListing()); stringBuilder.append("\n"); }