optimize
This commit is contained in:
parent
e076e76c57
commit
a9007dcccb
@ -5,7 +5,6 @@ import lombok.Setter;
|
||||
import org.bukkit.entity.Player;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.playerdata.PlayerTeam;
|
||||
import rip.tilly.bedwars.playerdata.currentgame.PlayerCurrentGameData;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
@ -26,8 +25,6 @@ public class GameTeam {
|
||||
private final int id;
|
||||
private final PlayerTeam playerTeam;
|
||||
|
||||
private final PlayerCurrentGameData playerCurrentGameData;
|
||||
|
||||
private boolean hasBed = true;
|
||||
|
||||
public GameTeam(UUID leader, List<UUID> allPlayers, int id, PlayerTeam playerTeam) {
|
||||
@ -37,7 +34,6 @@ public class GameTeam {
|
||||
|
||||
this.id = id;
|
||||
this.playerTeam = playerTeam;
|
||||
this.playerCurrentGameData = new PlayerCurrentGameData();
|
||||
}
|
||||
|
||||
public void killPlayer(UUID uuid) {
|
||||
|
@ -1,26 +1,7 @@
|
||||
package rip.tilly.bedwars.playerdata.currentgame;
|
||||
|
||||
import lombok.Data;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.enchantments.Enchantment;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.potion.PotionEffect;
|
||||
import org.bukkit.potion.PotionEffectType;
|
||||
import rip.tilly.bedwars.BedWars;
|
||||
import rip.tilly.bedwars.game.Game;
|
||||
import rip.tilly.bedwars.game.GameTeam;
|
||||
import rip.tilly.bedwars.generators.GeneratorTier;
|
||||
import rip.tilly.bedwars.generators.GeneratorType;
|
||||
import rip.tilly.bedwars.playerdata.PlayerData;
|
||||
import rip.tilly.bedwars.upgrades.Upgrade;
|
||||
import rip.tilly.bedwars.utils.CC;
|
||||
import rip.tilly.bedwars.utils.ItemBuilder;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.ListIterator;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
|
||||
@Data
|
||||
public class PlayerCurrentGameData {
|
||||
|
Loading…
Reference in New Issue
Block a user