SHARE
TWEET

Untitled

a guest Sep 21st, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.          for (int i = 0; i < 9; ++i) {
  2.              player.setVelocity(player.getLocation().getDirection().multiply(0).setY(1.1));
  3.              player.getInventory().setItem(i, new ItemManager(Material.COAL).setDisplayName("§8» §3VentyMC.net §8«").build());
  4.          }
  5.          Bukkit.getScheduler().scheduleAsyncDelayedTask((Plugin)LobbySystem.getInstance(), (Runnable)new Runnable() {
  6.              @Override
  7.              public void run() {
  8.                  player.getInventory().clear();
  9.                  player.sendTitle("§8» §3VentyMC.net §8«", "§3" + player.getDisplayName());
  10.                  player.playSound(player.getLocation(), Sound.IRONGOLEM_DEATH, 10.0f, 10.0f);
  11.                  player.playSound(player.getLocation(), Sound.LEVEL_UP, 10.0f, 10.0f);
  12.                  new PlayerItemsManager().getPlayerJoinItems(player);
  13.                  player.teleport(LocationManager.getLocation("spawn"));
  14.              }
  15.          }, 33L);
  16.     }  
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top