Allow Flags to interact with costumes and hats correctly
This commit is contained in:
parent
e04d467830
commit
4cc1068055
@ -47,7 +47,7 @@ public abstract class HatGadget extends OutfitGadget
|
||||
public void applyArmor(Player player, boolean message)
|
||||
{
|
||||
Manager.removeGadgetType(player, GadgetType.MORPH, this);
|
||||
|
||||
Manager.removeGadgetType(player, GadgetType.FLAG, this);
|
||||
Manager.removeOutfit(player, _slot);
|
||||
|
||||
_active.add(player);
|
||||
|
@ -26,7 +26,8 @@ public abstract class MorphGadget extends Gadget
|
||||
public void applyArmor(Player player, boolean message)
|
||||
{
|
||||
Manager.removeGadgetType(player, GadgetType.MORPH, this);
|
||||
Manager.removeGadgetType(player, GadgetType.COSTUME);
|
||||
Manager.removeGadgetType(player, GadgetType.COSTUME, this);
|
||||
Manager.removeGadgetType(player, GadgetType.FLAG, this);
|
||||
|
||||
_active.add(player);
|
||||
|
||||
|
@ -60,7 +60,7 @@ public abstract class OutfitGadget extends Gadget
|
||||
public void applyArmor(Player player, boolean message)
|
||||
{
|
||||
Manager.removeGadgetType(player, GadgetType.MORPH, this);
|
||||
|
||||
Manager.removeGadgetType(player, GadgetType.FLAG, this);
|
||||
Manager.removeOutfit(player, _slot);
|
||||
|
||||
_active.add(player);
|
||||
|
Loading…
Reference in New Issue
Block a user