mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-07-15 00:36:08 +00:00
kittycannon should actually fire kittens
This commit is contained in:
parent
df55e162d4
commit
cac53ab12e
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue