fixed silence not working in non-champs servers
This commit is contained in:
parent
2f91ca5a8a
commit
4a0cc79abf
@ -1,8 +1,11 @@
|
||||
package mineplex.minecraft.game.classcombat.Condition;
|
||||
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.event.EventHandler;
|
||||
import org.bukkit.event.EventPriority;
|
||||
|
||||
import mineplex.core.common.util.UtilServer;
|
||||
import mineplex.core.updater.event.UpdateEvent;
|
||||
import mineplex.minecraft.game.core.condition.ConditionEffect;
|
||||
import mineplex.minecraft.game.core.condition.ConditionManager;
|
||||
import mineplex.minecraft.game.classcombat.Skill.event.SkillTriggerEvent;
|
||||
|
@ -231,16 +231,19 @@ public class ArcadeManager extends MiniPlugin implements IRelation
|
||||
_explosionManager = new Explosion(plugin, _blockRestore);
|
||||
_explosionManager.SetDebris(false);
|
||||
|
||||
if (serverConfig.GameList.contains(GameType.ChampionsDominate)
|
||||
|| serverConfig.GameList.contains(GameType.ChampionsTDM)
|
||||
|| serverConfig.GameList.contains(GameType.ChampionsCTF))
|
||||
{
|
||||
_conditionManager = new SkillConditionManager(plugin);
|
||||
}
|
||||
else
|
||||
{
|
||||
_conditionManager = new ConditionManager(plugin);
|
||||
}
|
||||
_conditionManager = new SkillConditionManager(plugin);
|
||||
|
||||
//Dont see a reason to ever just use the normal one
|
||||
// if (serverConfig.GameList.contains(GameType.ChampionsDominate)
|
||||
// || serverConfig.GameList.contains(GameType.ChampionsTDM)
|
||||
// || serverConfig.GameList.contains(GameType.ChampionsCTF))
|
||||
// {
|
||||
// _conditionManager = new SkillConditionManager(plugin);
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// _conditionManager = new ConditionManager(plugin);
|
||||
// }
|
||||
|
||||
_clientManager = clientManager;
|
||||
_serverStatusManager = serverStatusManager;
|
||||
|
Loading…
Reference in New Issue
Block a user