Merge branch 'project-cosmetics' of ssh://git@github.com/Mineplex-LLC/Minecraft-PC.git into project-cosmetics
This commit is contained in:
commit
4ebf48bd45
@ -194,8 +194,7 @@ public class GadgetPage extends ShopPageBase<CosmeticManager, CosmeticShop>
|
||||
}
|
||||
else
|
||||
{
|
||||
String gadgetName = (gadget.GetName().startsWith("Piñata")) ? gadget.GetName().replace("ñ", "n") : gadget.GetName();
|
||||
addButton(slot, new ShopItem(gadget.GetDisplayMaterial(), gadget.GetDisplayData(), gadgetName, itemLore.toArray(new String[itemLore.size()]), 1, true, false).hideInfo(), new ActivateGadgetButton(gadget, this));
|
||||
addButton(slot, new ShopItem(gadget.GetDisplayMaterial(), gadget.GetDisplayData(), gadget.GetName(), itemLore.toArray(new String[itemLore.size()]), 1, true, false).hideInfo(), new ActivateGadgetButton(gadget, this));
|
||||
}
|
||||
|
||||
return;
|
||||
|
@ -19,9 +19,9 @@ public class DeathPinataBurst extends DeathEffectGadget
|
||||
|
||||
public DeathPinataBurst(GadgetManager manager)
|
||||
{
|
||||
super(manager, "Piñata Burst",
|
||||
super(manager, "Pinata Burst",
|
||||
UtilText.splitLineToArray(C.cGray + "Kill 'em with kindness and " + C.cPurple + "candy!", LineFormat.LORE),
|
||||
-2, Material.FIREWORK, (byte)0, "Pinata Burst");
|
||||
-2, Material.FIREWORK, (byte)0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -24,7 +24,7 @@ public abstract class Gadget extends SalesPackageBase implements Listener
|
||||
|
||||
private GadgetType _gadgetType;
|
||||
|
||||
protected HashSet<Player> _active = new HashSet<Player>();
|
||||
protected HashSet<Player> _active = new HashSet<>();
|
||||
|
||||
protected GadgetSet _set = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user