Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (int i = 0; i < 9; ++i) {
- player.setVelocity(player.getLocation().getDirection().multiply(0).setY(1.1));
- player.getInventory().setItem(i, new ItemManager(Material.COAL).setDisplayName("§8» §3VentyMC.net §8«").build());
- }
- Bukkit.getScheduler().scheduleAsyncDelayedTask((Plugin)LobbySystem.getInstance(), (Runnable)new Runnable() {
- @Override
- public void run() {
- player.getInventory().clear();
- player.sendTitle("§8» §3VentyMC.net §8«", "§3" + player.getDisplayName());
- player.playSound(player.getLocation(), Sound.IRONGOLEM_DEATH, 10.0f, 10.0f);
- player.playSound(player.getLocation(), Sound.LEVEL_UP, 10.0f, 10.0f);
- new PlayerItemsManager().getPlayerJoinItems(player);
- player.teleport(LocationManager.getLocation("spawn"));
- }
- }, 33L);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement