From f5efea1e9a42765f44820ce778a1019f1b6765c4 Mon Sep 17 00:00:00 2001 From: Chiss Date: Fri, 17 Oct 2014 18:34:23 +1100 Subject: [PATCH] Missing files --- .../src/mineplex/core/pet/types/Pumpkin.java | 14 +++++++++++++ .../mineplex/hub/commands/GadgetToggle.java | 21 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 Plugins/Mineplex.Core/src/mineplex/core/pet/types/Pumpkin.java create mode 100644 Plugins/Mineplex.Hub/src/mineplex/hub/commands/GadgetToggle.java diff --git a/Plugins/Mineplex.Core/src/mineplex/core/pet/types/Pumpkin.java b/Plugins/Mineplex.Core/src/mineplex/core/pet/types/Pumpkin.java new file mode 100644 index 000000000..ae646cb75 --- /dev/null +++ b/Plugins/Mineplex.Core/src/mineplex/core/pet/types/Pumpkin.java @@ -0,0 +1,14 @@ +package mineplex.core.pet.types; + +import org.bukkit.entity.EntityType; + +import mineplex.core.pet.Pet; + +public class Pumpkin extends Pet +{ + public Pumpkin() + { + super("Pumpling", EntityType.ZOMBIE, -1); + } + +} diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/commands/GadgetToggle.java b/Plugins/Mineplex.Hub/src/mineplex/hub/commands/GadgetToggle.java new file mode 100644 index 000000000..810e964d8 --- /dev/null +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/commands/GadgetToggle.java @@ -0,0 +1,21 @@ +package mineplex.hub.commands; + +import org.bukkit.entity.Player; + +import mineplex.core.command.CommandBase; +import mineplex.core.common.Rank; +import mineplex.hub.HubManager; + +public class GadgetToggle extends CommandBase +{ + public GadgetToggle(HubManager plugin) + { + super(plugin, Rank.ADMIN, new String[] {"gadget"}); + } + + @Override + public void Execute(Player caller, String[] args) + { + Plugin.ToggleGadget(caller); + } +}