1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-06 22:56:41 +02:00

kittycannon should actually fire kittens

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

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()
{