Advertisement
Lisenochek

Untitled

Sep 20th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. package com.realistic.signals;
  2.  
  3. import org.bukkit.Bukkit;
  4. import org.bukkit.block.Block;
  5. import org.bukkit.entity.Player;
  6.  
  7. import com.realistic.list.MinecraftList;
  8. import com.realistic.otherAPI.ParticleEffect;
  9.  
  10. public class SignalParticle {
  11.  
  12. public static void Sparticles() {
  13.  
  14. for (Player p : Bukkit.getOnlinePlayers()) {
  15.  
  16. Block bCommon = Handler_CommonSignal.commonSignalBlock;
  17. Block BDonater = Handler_DonaterSignal.donaterSignalBlock;
  18.  
  19. if (!MinecraftList.commonSignal.containsKey(p)) {
  20.  
  21. ParticleEffect.SMOKE_LARGE.display(0, 2, 0, 0, 5, bCommon.getLocation().add(0.5, 3, 0.5), 200);
  22. ParticleEffect.SMOKE_LARGE.display(0, 2, 0, 0, 5, BDonater.getLocation().add(0.5, 3, 0.5), 200);
  23. }
  24. }
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement