mirror of
https://github.com/EarthMC/QuickShop-Reremake.git
synced 2026-11-25 18:09:48 -05:00
use append
This commit is contained in:
1 parent
a929c1e069
commit
3fef1730f9
1 file changed
+11
-12
@@ -1173,18 +1173,17 @@ public class ContainerShop implements Shop {
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder sb =
|
||||
new StringBuilder(
|
||||
"Shop "
|
||||
+ (location.getWorld() == null ? "unloaded world"
|
||||
: location.getWorld().getName())
|
||||
+ "("
|
||||
+ location.getBlockX()
|
||||
+ ", "
|
||||
+ location.getBlockY()
|
||||
+ ", "
|
||||
+ location.getBlockZ()
|
||||
+ ")");
|
||||
StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.append("Shop ")
|
||||
.append(location.getWorld() == null ? "unloaded world" : location.getWorld().getName())
|
||||
.append("(")
|
||||
.append(location.getBlockX())
|
||||
.append(", ")
|
||||
.append(location.getBlockY())
|
||||
.append(", ")
|
||||
.append(location.getBlockZ())
|
||||
.append(")");
|
||||
sb.append(" Owner: ").append(this.ownerName(false)).append(" - ").append(getOwner());
|
||||
if (isUnlimited()) {
|
||||
sb.append(" Unlimited: true");
|
||||
|
||||
Reference in new issue
Block a user