Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void StartGame() {
- stopCountdown();
- if (!(jp.get(0) == null)){
- jp.get(0).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p1.x"), this.getConfig().getInt("p1.y"), this.getConfig().getInt("p1.z")));
- }else {
- return;
- }
- if (!(jp.get(1) == null)){
- jp.get(1).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p2.x"), this.getConfig().getInt("p2.y"), this.getConfig().getInt("p2.z")));
- }else {
- return;
- }
- if (!(jp.get(2) == null)){
- jp.get(2).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p3.x"), this.getConfig().getInt("p3.y"), this.getConfig().getInt("p3.z")));
- }else {
- return;
- }
- if (!(jp.get(3) == null)){
- jp.get(3).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p4.x"), this.getConfig().getInt("p4.y"), this.getConfig().getInt("p4.z")));
- }else {
- return;
- }
- if (!(jp.get(4) == null )){
- jp.get(4).teleport(new Location(Bukkit.getWorld("bowbutton"), this.getConfig().getInt("p5.x"), this.getConfig().getInt("p5.y"), this.getConfig().getInt("p5.z")));
- }else {
- return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement