mirror of
https://github.com/Multiverse/Multiverse-Core.git
synced 2024-11-22 02:25:41 +01:00
MVWorld wants a toString()! :P
This commit is contained in:
parent
408c09541a
commit
659301a808
@ -976,4 +976,14 @@ public class MVWorld implements MultiverseWorld {
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder toStringBuilder = new StringBuilder();
|
||||
toStringBuilder.append(this.getClass().getSimpleName());
|
||||
toStringBuilder.append('@');
|
||||
toStringBuilder.append(this.hashCode());
|
||||
toStringBuilder.append(" (Name: '").append(this.getName()).append("')");
|
||||
return toStringBuilder.toString();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user