Solved Particle Effects

Discussion in 'Plugin Development' started by Side8StarLite, Oct 25, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    Side8StarLite

    Hello there
    I've reached the end of my wits for this one...
    Code:
       
        @EventHandler
        public void onShift(PlayerToggleSneakEvent e)
        {
            Location loc = e.getPlayer().getLocation().add(0,2,0);
            ParticleEffect.HEART.display(0,0,0,0,1,loc,20);
        }
    Basically, it won't show any particles effect at all. There are no errors, no exceptions, nothing. And that is why I can't find anything wrong with it. I got the Particle Library from here:
    https://github.com/DarkBlade12/ParticleEffect
    And the parameters above the "display" function are (offsetX, offsetY, offsetZ, speed, amount, center, range), according to Eclipse that is.
    I'm probably just dumb, and overlooking something very small probably, but I can't find it no matter how hard I try. Plz help.
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    Side8StarLite

    Yes, I did.
    I'm using CraftBukkit 1.9.4 by the way

    EDIT: I'm so stupid (I said so didn't I) I had Particles on minimal; sorry for wasting your time
     
    Last edited: Oct 25, 2016
Thread Status:
Not open for further replies.

Share This Page