Skip to content

Commit

Permalink
Compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Devlrxxh committed Apr 4, 2024
1 parent 157cd9d commit d5e1b21
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/main/java/me/lrxh/practice/match/impl/BasicTeamMatch.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ public void setupPlayer(Player player) {
Location spawn = participantA.containsPlayer(player.getUniqueId()) ?
getArena().getSpawnA() : getArena().getSpawnB();

if (kit.getGameRules().isBedwars()) {
if (participantA.containsPlayer(player.getUniqueId())) {
player.setBedSpawnLocation(arena.getBedA());
} else {
player.setBedSpawnLocation(arena.getBedB());
}
}

if (spawn.getBlock().getType() == Material.AIR) {
player.teleport(spawn);
} else {
Expand Down

0 comments on commit d5e1b21

Please sign in to comment.