kittycannon should actually fire kittens

This commit is contained in:
Necrodoom 2013-03-18 12:38:56 +02:00 committed by KHobbits
parent df55e162d4
commit cac53ab12e

View file

@ -29,6 +29,7 @@ public class Commandkittycannon extends EssentialsCommand
final int i = random.nextInt(Ocelot.Type.values().length);
ocelot.setCatType(Ocelot.Type.values()[i]);
ocelot.setTamed(true);
ocelot.setBaby();
ocelot.setVelocity(user.getEyeLocation().getDirection().multiply(2));
ess.scheduleSyncDelayedTask(new Runnable()
{