mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-11 19:02:02 +01: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 New Issue
Block a user