From 00361a64383dbeaa0657f433c58e9b99dd34bbb2 Mon Sep 17 00:00:00 2001 From: fullwall Date: Wed, 3 Jun 2015 17:05:26 +0800 Subject: [PATCH] Update HumanController.java --- src/main/java/net/citizensnpcs/npc/entity/HumanController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/citizensnpcs/npc/entity/HumanController.java b/src/main/java/net/citizensnpcs/npc/entity/HumanController.java index 00e10a317..b72cb789d 100644 --- a/src/main/java/net/citizensnpcs/npc/entity/HumanController.java +++ b/src/main/java/net/citizensnpcs/npc/entity/HumanController.java @@ -118,7 +118,7 @@ public class HumanController extends AbstractEntityController { if (prefixCapture != null) { Scoreboard scoreboard = Bukkit.getScoreboardManager().getMainScoreboard(); - String teamName = UUID.randomUUID().toString(); + String teamName = UUID.randomUUID().toString().substring(0,16); Team team = scoreboard.getTeam(teamName); if (team == null) {