From f4eed5481dacae0b53acb54431388424977c82e3 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sun, 3 Feb 2019 13:47:05 +1300 Subject: [PATCH] Remove space from team name, fixes #337 --- .../me/libraryaddict/disguise/utilities/DisguiseUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java index 85df8371..91146c41 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/DisguiseUtilities.java @@ -1380,7 +1380,7 @@ public class DisguiseUtilities { // If we are creating a new scoreboard because the current one must not be modified if (pOption == DisguisePushing.CREATE_SCOREBOARD) { // If they have a team, we'll reuse that name. Otherwise go for another name - ldTeamName = (prevTeam == null ? "No Team" : prevTeam.getName()); + ldTeamName = (prevTeam == null ? "NoTeam" : prevTeam.getName()); // Give the teamname a custom name ldTeamName = ldTeamName.substring(0, Math.min(12, ldTeamName.length())) + "_LDP";