PC-1395
Don't disable self otherwise a message is shown
This commit is contained in:
parent
017d737e59
commit
affb2cb91f
@ -86,7 +86,7 @@ public class GameModifierMineStrikeSkin extends GameModifierGadget
|
|||||||
@Override
|
@Override
|
||||||
public void enableCustom(Player player, boolean message)
|
public void enableCustom(Player player, boolean message)
|
||||||
{
|
{
|
||||||
Manager.getGameModifiers(getGameType()).stream().filter(getWeaponFilter(_weapon)).forEach(g -> g.disable(player));
|
Manager.getGameModifiers(getGameType()).stream().filter(getWeaponFilter(_weapon).and(weapon -> weapon != this)).forEach(g -> g.disable(player));
|
||||||
|
|
||||||
super.enableCustom(player, message);
|
super.enableCustom(player, message);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user