mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 20:55:44 +01:00
Update HumanController.java
This commit is contained in:
parent
3203a78e90
commit
00361a6438
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user