Fix compile errror

This commit is contained in:
fullwall 2014-07-18 21:11:31 -07:00
parent 8902579c69
commit b31a9532f7

View File

@ -90,9 +90,9 @@ public class HumanController extends AbstractEntityController {
if (cached != null) { if (cached != null) {
profile.getProperties().put("textures", cached); profile.getProperties().put("textures", cached);
} else { } else {
Bukkit.getScheduler().runTaskAsynchronously(CitizensAPI.getPlugin(), Bukkit.getScheduler().runTaskLaterAsynchronously(CitizensAPI.getPlugin(),
new SkinFetcher(new UUIDFetcher(skinUUID, npc), nmsWorld.getMinecraftServer().av(), npc), new SkinFetcher(new UUIDFetcher(skinUUID, npc), nmsWorld.getMinecraftServer().av(), npc),
Math.ceil(Math.min(0, 40 * Math.random()))); (int) Math.ceil(Math.min(1, 40 * Math.random())));
} }
} }