- Fix Merge Error
This commit is contained in:
parent
c709980db3
commit
3ee6c5c7c8
@ -1,114 +1,12 @@
|
|||||||
package nautilus.game.arcade;
|
package nautilus.game.arcade;
|
||||||
|
|
||||||
|
import java.awt.Event;
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
||||||
import java.util.Iterator;
|
import java.util.Iterator;
|
||||||
import java.util.Map.Entry;
|
import java.util.Map.Entry;
|
||||||
|
|
||||||
import mineplex.core.MiniPlugin;
|
|
||||||
import mineplex.core.account.CoreClientManager;
|
|
||||||
import mineplex.core.achievement.AchievementManager;
|
|
||||||
import mineplex.core.blockrestore.BlockRestore;
|
|
||||||
import mineplex.core.blood.Blood;
|
|
||||||
import mineplex.core.bonuses.BonusManager;
|
|
||||||
import mineplex.core.chat.Chat;
|
|
||||||
import mineplex.core.common.Rank;
|
|
||||||
import mineplex.core.common.jsonchat.ClickEvent;
|
|
||||||
import mineplex.core.common.jsonchat.JsonMessage;
|
|
||||||
import mineplex.core.common.util.C;
|
|
||||||
import mineplex.core.common.util.F;
|
|
||||||
import mineplex.core.common.util.NautHashMap;
|
|
||||||
import mineplex.core.common.util.UtilAction;
|
|
||||||
import mineplex.core.common.util.UtilGear;
|
|
||||||
import mineplex.core.common.util.UtilInv;
|
|
||||||
import mineplex.core.common.util.UtilPlayer;
|
|
||||||
import mineplex.core.common.util.UtilServer;
|
|
||||||
import mineplex.core.common.util.UtilTime;
|
|
||||||
import mineplex.core.cosmetic.CosmeticManager;
|
|
||||||
import mineplex.core.creature.Creature;
|
|
||||||
import mineplex.core.disguise.DisguiseManager;
|
|
||||||
import mineplex.core.donation.DonationManager;
|
|
||||||
import mineplex.core.elo.EloManager;
|
|
||||||
import mineplex.core.energy.Energy;
|
|
||||||
import mineplex.core.explosion.Explosion;
|
|
||||||
import mineplex.core.hologram.HologramManager;
|
|
||||||
import mineplex.core.inventory.InventoryManager;
|
|
||||||
import mineplex.core.itemstack.ItemStackFactory;
|
|
||||||
import mineplex.core.movement.Movement;
|
|
||||||
import mineplex.core.notifier.NotificationManager;
|
|
||||||
import mineplex.core.npc.NpcManager;
|
|
||||||
import mineplex.core.packethandler.IPacketHandler;
|
|
||||||
import mineplex.core.packethandler.PacketHandler;
|
|
||||||
import mineplex.core.packethandler.PacketInfo;
|
|
||||||
import mineplex.core.packethandler.PacketPlayResourcePackStatus;
|
|
||||||
import mineplex.core.packethandler.PacketPlayResourcePackStatus.EnumResourcePackStatus;
|
|
||||||
import mineplex.core.party.PartyManager;
|
|
||||||
import mineplex.core.pet.PetManager;
|
|
||||||
import mineplex.core.poll.PollManager;
|
|
||||||
import mineplex.core.portal.Portal;
|
|
||||||
import mineplex.core.preferences.PreferencesManager;
|
|
||||||
import mineplex.core.projectile.ProjectileManager;
|
|
||||||
import mineplex.core.resourcepack.ResPackManager;
|
|
||||||
import mineplex.core.resourcepack.ResUnloadCheck;
|
|
||||||
import mineplex.core.resourcepack.redis.RedisUnloadResPack;
|
|
||||||
import mineplex.core.reward.RewardRarity;
|
|
||||||
import mineplex.core.reward.rewards.PetReward;
|
|
||||||
import mineplex.core.stats.StatsManager;
|
|
||||||
import mineplex.core.status.ServerStatusManager;
|
|
||||||
import mineplex.core.task.TaskManager;
|
|
||||||
import mineplex.core.teleport.Teleport;
|
|
||||||
import mineplex.core.timing.TimingManager;
|
|
||||||
import mineplex.core.updater.event.UpdateEvent;
|
|
||||||
import mineplex.minecraft.game.classcombat.Class.ClassManager;
|
|
||||||
import mineplex.minecraft.game.classcombat.Condition.SkillConditionManager;
|
|
||||||
import mineplex.minecraft.game.classcombat.Skill.SkillFactory;
|
|
||||||
import mineplex.minecraft.game.classcombat.Skill.event.SkillTriggerEvent;
|
|
||||||
import mineplex.minecraft.game.classcombat.item.ItemFactory;
|
|
||||||
import mineplex.minecraft.game.classcombat.item.event.ItemTriggerEvent;
|
|
||||||
import mineplex.minecraft.game.classcombat.shop.ClassCombatShop;
|
|
||||||
import mineplex.minecraft.game.classcombat.shop.ClassShopManager;
|
|
||||||
import mineplex.minecraft.game.core.IRelation;
|
|
||||||
import mineplex.minecraft.game.core.condition.ConditionManager;
|
|
||||||
import mineplex.minecraft.game.core.damage.DamageManager;
|
|
||||||
import mineplex.minecraft.game.core.fire.Fire;
|
|
||||||
import nautilus.game.arcade.addons.SoupAddon;
|
|
||||||
import nautilus.game.arcade.addons.TeamArmorAddon;
|
|
||||||
import nautilus.game.arcade.addons.compass.CompassAddon;
|
|
||||||
import nautilus.game.arcade.command.DisguiseCommand;
|
|
||||||
import nautilus.game.arcade.command.GameCommand;
|
|
||||||
<<<<<<< HEAD
|
|
||||||
=======
|
|
||||||
import nautilus.game.arcade.command.RequiredRankCommand;
|
|
||||||
import nautilus.game.arcade.command.WriteCommand;
|
|
||||||
>>>>>>> 2b902c5193358f1fdf12a72cced6bacdeedcd72a
|
|
||||||
import nautilus.game.arcade.command.KitUnlockCommand;
|
|
||||||
import nautilus.game.arcade.command.WriteCommand;
|
|
||||||
import nautilus.game.arcade.events.GameStateChangeEvent;
|
|
||||||
import nautilus.game.arcade.game.Game;
|
|
||||||
import nautilus.game.arcade.game.Game.GameState;
|
|
||||||
import nautilus.game.arcade.game.GameServerConfig;
|
|
||||||
import nautilus.game.arcade.game.GameTeam;
|
|
||||||
import nautilus.game.arcade.game.games.event.EventModule;
|
|
||||||
import nautilus.game.arcade.game.games.uhc.UHC;
|
|
||||||
import nautilus.game.arcade.managers.GameAchievementManager;
|
|
||||||
import nautilus.game.arcade.managers.GameChatManager;
|
|
||||||
import nautilus.game.arcade.managers.GameCreationManager;
|
|
||||||
import nautilus.game.arcade.managers.GameFlagManager;
|
|
||||||
import nautilus.game.arcade.managers.GameGemManager;
|
|
||||||
import nautilus.game.arcade.managers.GameHostManager;
|
|
||||||
import nautilus.game.arcade.managers.GameLobbyManager;
|
|
||||||
import nautilus.game.arcade.managers.GameLootManager;
|
|
||||||
import nautilus.game.arcade.managers.GameManager;
|
|
||||||
import nautilus.game.arcade.managers.GamePlayerManager;
|
|
||||||
import nautilus.game.arcade.managers.GameSpectatorManager;
|
|
||||||
import nautilus.game.arcade.managers.GameStatManager;
|
|
||||||
import nautilus.game.arcade.managers.GameTournamentManager;
|
|
||||||
import nautilus.game.arcade.managers.GameWorldManager;
|
|
||||||
import nautilus.game.arcade.managers.IdleManager;
|
|
||||||
import nautilus.game.arcade.managers.MiscManager;
|
|
||||||
import nautilus.game.arcade.shop.ArcadeShop;
|
|
||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.ChatColor;
|
import org.bukkit.ChatColor;
|
||||||
import org.bukkit.GameMode;
|
import org.bukkit.GameMode;
|
||||||
@ -138,6 +36,108 @@ import org.bukkit.potion.PotionEffect;
|
|||||||
import org.bukkit.util.Vector;
|
import org.bukkit.util.Vector;
|
||||||
|
|
||||||
import com.google.common.base.Objects;
|
import com.google.common.base.Objects;
|
||||||
|
|
||||||
|
import mineplex.core.MiniPlugin;
|
||||||
|
import mineplex.core.account.CoreClientManager;
|
||||||
|
import mineplex.core.achievement.AchievementManager;
|
||||||
|
import mineplex.core.blockrestore.BlockRestore;
|
||||||
|
import mineplex.core.blood.Blood;
|
||||||
|
import mineplex.core.bonuses.BonusManager;
|
||||||
|
import mineplex.core.chat.Chat;
|
||||||
|
import mineplex.core.common.Rank;
|
||||||
|
import mineplex.core.common.jsonchat.ClickEvent;
|
||||||
|
import mineplex.core.common.jsonchat.JsonMessage;
|
||||||
|
import mineplex.core.common.util.C;
|
||||||
|
import mineplex.core.common.util.F;
|
||||||
|
import mineplex.core.common.util.NautHashMap;
|
||||||
|
import mineplex.core.common.util.UtilAction;
|
||||||
|
import mineplex.core.common.util.UtilGear;
|
||||||
|
import mineplex.core.common.util.UtilInv;
|
||||||
|
import mineplex.core.common.util.UtilPlayer;
|
||||||
|
import mineplex.core.common.util.UtilServer;
|
||||||
|
import mineplex.core.common.util.UtilTime;
|
||||||
|
import mineplex.core.cosmetic.CosmeticManager;
|
||||||
|
import mineplex.core.creature.Creature;
|
||||||
|
import mineplex.core.disguise.DisguiseManager;
|
||||||
|
import mineplex.core.donation.DonationManager;
|
||||||
|
import mineplex.core.elo.EloManager;
|
||||||
|
import mineplex.core.energy.Energy;
|
||||||
|
import mineplex.core.explosion.Explosion;
|
||||||
|
import mineplex.core.gadget.gadgets.OutfitTeam;
|
||||||
|
import mineplex.core.gadget.types.Gadget;
|
||||||
|
import mineplex.core.gadget.types.GadgetType;
|
||||||
|
import mineplex.core.hologram.HologramManager;
|
||||||
|
import mineplex.core.inventory.InventoryManager;
|
||||||
|
import mineplex.core.itemstack.ItemStackFactory;
|
||||||
|
import mineplex.core.movement.Movement;
|
||||||
|
import mineplex.core.notifier.NotificationManager;
|
||||||
|
import mineplex.core.npc.NpcManager;
|
||||||
|
import mineplex.core.packethandler.IPacketHandler;
|
||||||
|
import mineplex.core.packethandler.PacketHandler;
|
||||||
|
import mineplex.core.packethandler.PacketInfo;
|
||||||
|
import mineplex.core.packethandler.PacketPlayResourcePackStatus;
|
||||||
|
import mineplex.core.packethandler.PacketPlayResourcePackStatus.EnumResourcePackStatus;
|
||||||
|
import mineplex.core.party.PartyManager;
|
||||||
|
import mineplex.core.pet.PetManager;
|
||||||
|
import mineplex.core.poll.PollManager;
|
||||||
|
import mineplex.core.portal.Portal;
|
||||||
|
import mineplex.core.preferences.PreferencesManager;
|
||||||
|
import mineplex.core.projectile.ProjectileManager;
|
||||||
|
import mineplex.core.resourcepack.ResUnloadCheck;
|
||||||
|
import mineplex.core.resourcepack.ResPackManager;
|
||||||
|
import mineplex.core.resourcepack.redis.RedisUnloadResPack;
|
||||||
|
import mineplex.core.reward.RewardRarity;
|
||||||
|
import mineplex.core.reward.rewards.PetReward;
|
||||||
|
import mineplex.core.stats.StatsManager;
|
||||||
|
import mineplex.core.status.ServerStatusManager;
|
||||||
|
import mineplex.core.task.TaskManager;
|
||||||
|
import mineplex.core.teleport.Teleport;
|
||||||
|
import mineplex.core.timing.TimingManager;
|
||||||
|
import mineplex.core.updater.event.UpdateEvent;
|
||||||
|
import mineplex.minecraft.game.classcombat.Class.ClassManager;
|
||||||
|
import mineplex.minecraft.game.classcombat.Condition.SkillConditionManager;
|
||||||
|
import mineplex.minecraft.game.classcombat.Skill.SkillFactory;
|
||||||
|
import mineplex.minecraft.game.classcombat.Skill.event.SkillTriggerEvent;
|
||||||
|
import mineplex.minecraft.game.classcombat.item.ItemFactory;
|
||||||
|
import mineplex.minecraft.game.classcombat.item.event.ItemTriggerEvent;
|
||||||
|
import mineplex.minecraft.game.classcombat.shop.ClassCombatShop;
|
||||||
|
import mineplex.minecraft.game.classcombat.shop.ClassShopManager;
|
||||||
|
import mineplex.minecraft.game.core.IRelation;
|
||||||
|
import mineplex.minecraft.game.core.condition.ConditionManager;
|
||||||
|
import mineplex.minecraft.game.core.damage.DamageManager;
|
||||||
|
import mineplex.minecraft.game.core.fire.Fire;
|
||||||
|
import nautilus.game.arcade.addons.SoupAddon;
|
||||||
|
import nautilus.game.arcade.addons.TeamArmorAddon;
|
||||||
|
import nautilus.game.arcade.addons.compass.CompassAddon;
|
||||||
|
import nautilus.game.arcade.command.DisguiseCommand;
|
||||||
|
import nautilus.game.arcade.command.GameCommand;
|
||||||
|
import nautilus.game.arcade.command.RequiredRankCommand;
|
||||||
|
import nautilus.game.arcade.command.WriteCommand;
|
||||||
|
import nautilus.game.arcade.command.KitUnlockCommand;
|
||||||
|
import nautilus.game.arcade.events.GameStateChangeEvent;
|
||||||
|
import nautilus.game.arcade.game.Game;
|
||||||
|
import nautilus.game.arcade.game.Game.GameState;
|
||||||
|
import nautilus.game.arcade.game.GameServerConfig;
|
||||||
|
import nautilus.game.arcade.game.GameTeam;
|
||||||
|
import nautilus.game.arcade.game.games.event.EventModule;
|
||||||
|
import nautilus.game.arcade.game.games.uhc.UHC;
|
||||||
|
import nautilus.game.arcade.managers.GameAchievementManager;
|
||||||
|
import nautilus.game.arcade.managers.GameChatManager;
|
||||||
|
import nautilus.game.arcade.managers.GameCreationManager;
|
||||||
|
import nautilus.game.arcade.managers.GameFlagManager;
|
||||||
|
import nautilus.game.arcade.managers.GameGemManager;
|
||||||
|
import nautilus.game.arcade.managers.GameHostManager;
|
||||||
|
import nautilus.game.arcade.managers.GameLobbyManager;
|
||||||
|
import nautilus.game.arcade.managers.GameLootManager;
|
||||||
|
import nautilus.game.arcade.managers.GameManager;
|
||||||
|
import nautilus.game.arcade.managers.GamePlayerManager;
|
||||||
|
import nautilus.game.arcade.managers.GameSpectatorManager;
|
||||||
|
import nautilus.game.arcade.managers.GameStatManager;
|
||||||
|
import nautilus.game.arcade.managers.GameTournamentManager;
|
||||||
|
import nautilus.game.arcade.managers.GameWorldManager;
|
||||||
|
import nautilus.game.arcade.managers.IdleManager;
|
||||||
|
import nautilus.game.arcade.managers.MiscManager;
|
||||||
|
import nautilus.game.arcade.shop.ArcadeShop;
|
||||||
|
|
||||||
public class ArcadeManager extends MiniPlugin implements IRelation
|
public class ArcadeManager extends MiniPlugin implements IRelation
|
||||||
{
|
{
|
||||||
@ -235,7 +235,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
|||||||
_explosionManager.SetDebris(false);
|
_explosionManager.SetDebris(false);
|
||||||
|
|
||||||
if (serverConfig.GameList.contains(GameType.ChampionsDominate)
|
if (serverConfig.GameList.contains(GameType.ChampionsDominate)
|
||||||
|| serverConfig.GameList.contains(GameType.ChampionsTDM) || serverConfig.GameList.contains(GameType.ChampionsCTF))
|
|| serverConfig.GameList.contains(GameType.ChampionsTDM))
|
||||||
{
|
{
|
||||||
_conditionManager = new SkillConditionManager(plugin);
|
_conditionManager = new SkillConditionManager(plugin);
|
||||||
}
|
}
|
||||||
@ -1327,7 +1327,7 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
|||||||
|
|
||||||
public void toggleChampionsModules(GameType gameType)
|
public void toggleChampionsModules(GameType gameType)
|
||||||
{
|
{
|
||||||
boolean isChamps = gameType == GameType.ChampionsDominate || gameType == GameType.ChampionsTDM || gameType == GameType.ChampionsCTF;
|
boolean isChamps = gameType == GameType.ChampionsDominate || gameType == GameType.ChampionsTDM;
|
||||||
|
|
||||||
if (_enabled == isChamps)
|
if (_enabled == isChamps)
|
||||||
{
|
{
|
||||||
@ -1559,4 +1559,4 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
|||||||
{
|
{
|
||||||
_requiredRank = rank;
|
_requiredRank = rank;
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user