mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2024-08-18 09:26:05 +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);
|
final int i = random.nextInt(Ocelot.Type.values().length);
|
||||||
ocelot.setCatType(Ocelot.Type.values()[i]);
|
ocelot.setCatType(Ocelot.Type.values()[i]);
|
||||||
ocelot.setTamed(true);
|
ocelot.setTamed(true);
|
||||||
|
ocelot.setBaby();
|
||||||
ocelot.setVelocity(user.getEyeLocation().getDirection().multiply(2));
|
ocelot.setVelocity(user.getEyeLocation().getDirection().multiply(2));
|
||||||
ess.scheduleSyncDelayedTask(new Runnable()
|
ess.scheduleSyncDelayedTask(new Runnable()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue