Permalink
Browse files

Added a command to give a player a HeadDrop.

  • Loading branch information...
me4502 committed Mar 14, 2017
1 parent 72f03c3 commit 6473c016582e55e8bfd60da341c2bb6fdb14c483
@@ -25,6 +25,7 @@
import com.sk89q.craftbook.mechanics.dispenser.DispenserRecipes;
import com.sk89q.craftbook.mechanics.drops.CustomDrops;
import com.sk89q.craftbook.mechanics.drops.legacy.LegacyCustomDrops;
+import com.sk89q.craftbook.mechanics.headdrops.HeadDrops;
import com.sk89q.craftbook.mechanics.ic.ICMechanic;
import com.sk89q.craftbook.mechanics.items.CommandItemDefinition;
import com.sk89q.craftbook.mechanics.items.CommandItems;
@@ -2,6 +2,7 @@
import java.io.File;
import java.io.IOException;
+import com.sk89q.craftbook.mechanics.headdrops.HeadDropsCommands;
import org.bukkit.ChatColor;
import org.bukkit.command.CommandException;
import org.bukkit.command.CommandSender;
@@ -45,6 +46,11 @@ public void craftBookCmds(CommandContext context, CommandSender sender) {
public void area(CommandContext context, CommandSender sender) {
}
+ @Command(aliases = {"headdrops", "hd"}, desc = "Commands to manage Craftbook Head Drops")
+ @NestedCommand(HeadDropsCommands.class)
+ public void headdrops(CommandContext context, CommandSender sender) {
+ }
+
@Command(aliases = {"recp", "recps"}, desc = "Commands to manage Craftbook Custom Recipes")
@NestedCommand(RecipeCommands.class)
public void recipe(CommandContext context, CommandSender sender) {
Oops, something went wrong.

0 comments on commit 6473c01

Please sign in to comment.