mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-28 10:12:14 +01:00
Fix crash on 1.7.7
This commit is contained in:
parent
c2750faf9c
commit
81afd8bada
@ -32,7 +32,7 @@ public class HumanController extends AbstractEntityController {
|
||||
parseColors = parseColors.substring(0, 16);
|
||||
}
|
||||
final EntityHumanNPC handle = new EntityHumanNPC(ws.getServer().getServer(), ws, new GameProfile(UUID
|
||||
.randomUUID().toString(), parseColors), new PlayerInteractManager(ws), npc);
|
||||
.nameUUIDFromBytes(parseColors.getBytes()).toString(), parseColors), new PlayerInteractManager(ws), npc);
|
||||
handle.setPositionRotation(at.getX(), at.getY(), at.getZ(), at.getYaw(), at.getPitch());
|
||||
Bukkit.getScheduler().scheduleSyncDelayedTask(CitizensAPI.getPlugin(), new Runnable() {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user