You are missing tons of null checks in places like this - very easy to cause NPEs. Fixed a fair few @ https://github.com/EcoCityCraft/Spigot/blob/master/CraftBukkit-Patches/0050-Particle-API.patch