Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. public void StartGame() {
  2. stopCountdown();
  3. if (!(jp.get(0) == null)){
  4. jp.get(0).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p1.x"), this.getConfig().getInt("p1.y"), this.getConfig().getInt("p1.z")));
  5. }else {
  6. return;
  7. }
  8. if (!(jp.get(1) == null)){
  9. jp.get(1).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p2.x"), this.getConfig().getInt("p2.y"), this.getConfig().getInt("p2.z")));
  10. }else {
  11. return;
  12. }
  13. if (!(jp.get(2) == null)){
  14. jp.get(2).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p3.x"), this.getConfig().getInt("p3.y"), this.getConfig().getInt("p3.z")));
  15.  
  16. }else {
  17. return;
  18. }
  19. if (!(jp.get(3) == null)){
  20. jp.get(3).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p4.x"), this.getConfig().getInt("p4.y"), this.getConfig().getInt("p4.z")));
  21.  
  22. }else {
  23. return;
  24. }
  25. if (!(jp.get(4) == null )){
  26. jp.get(4).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p5.x"), this.getConfig().getInt("p5.y"), this.getConfig().getInt("p5.z")));
  27. }else {
  28. return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement