Update HumanController.java

This commit is contained in:
fullwall 2014-12-26 17:45:49 +08:00
parent 516035fc70
commit bd5ff4d433

View File

@ -204,6 +204,7 @@ public class HumanController extends AbstractEntityController {
} }
TEXTURE_CACHE.put(realUUID, new Property("textures", textures.getValue(), textures.getSignature())); TEXTURE_CACHE.put(realUUID, new Property("textures", textures.getValue(), textures.getSignature()));
} }
if (CitizensAPI.getPlugin().isEnabled()) {
Bukkit.getScheduler().callSyncMethod(CitizensAPI.getPlugin(), new Callable<Void>() { Bukkit.getScheduler().callSyncMethod(CitizensAPI.getPlugin(), new Callable<Void>() {
@Override @Override
public Void call() { public Void call() {
@ -216,6 +217,7 @@ public class HumanController extends AbstractEntityController {
}); });
} }
} }
}
public static class SkinThread implements Runnable { public static class SkinThread implements Runnable {
private volatile int delay = 0; private volatile int delay = 0;