File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
src/main/java/org/maxgamer/quickshop/shop Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -1241,21 +1241,20 @@ public void setDirty(boolean isDirty) {
12411241
12421242 @ Override
12431243 public String toString () {
1244- StringBuilder sb = new StringBuilder ();
1245-
1246- sb .append ("Shop " )
1247- .append (location .getWorld () == null ? "unloaded world" : location .getWorld ().getName ())
1248- .append ("(" )
1249- .append (location .getBlockX ())
1250- .append (", " )
1251- .append (location .getBlockY ())
1252- .append (", " )
1253- .append (location .getBlockZ ())
1254- .append (")" );
1255- sb .append (" Owner: " ).append (this .ownerName (false )).append (" - " ).append (getOwner ());
1256- sb .append (", Unlimited: " ).append (isUnlimited ());
1257- sb .append (" Price: " ).append (getPrice ());
1258- return sb .toString ();
1244+
1245+ String sb = "Shop " +
1246+ (location .getWorld () == null ? "unloaded world" : location .getWorld ().getName ()) +
1247+ "(" +
1248+ location .getBlockX () +
1249+ ", " +
1250+ location .getBlockY () +
1251+ ", " +
1252+ location .getBlockZ () +
1253+ ")" +
1254+ " Owner: " + this .ownerName (false ) + " - " + getOwner () +
1255+ ", Unlimited: " + isUnlimited () +
1256+ " Price: " + getPrice ();
1257+ return sb ;
12591258 }
12601259
12611260 /**
You can’t perform that action at this time.
0 commit comments