Update HumanController.java

This commit is contained in:
fullwall 2015-06-03 17:05:26 +08:00
parent 3203a78e90
commit 00361a6438

View File

@ -118,7 +118,7 @@ public class HumanController extends AbstractEntityController {
if (prefixCapture != null) { if (prefixCapture != null) {
Scoreboard scoreboard = Bukkit.getScoreboardManager().getMainScoreboard(); Scoreboard scoreboard = Bukkit.getScoreboardManager().getMainScoreboard();
String teamName = UUID.randomUUID().toString(); String teamName = UUID.randomUUID().toString().substring(0,16);
Team team = scoreboard.getTeam(teamName); Team team = scoreboard.getTeam(teamName);
if (team == null) { if (team == null) {