Fix some javadoc and imports.

This commit is contained in:
Jesse Prescott 2018-06-04 00:49:17 +01:00
parent 98e2032182
commit 4a61a1f30e
3 changed files with 3 additions and 4 deletions

View File

@ -14,7 +14,7 @@
*/ */
package com.gmail.bleedobsidian.itemcase; package com.gmail.bleedobsidian.itemcase;
import com.gmail.bleedobsidian.itemcase.commands.CreateCommand; import com.gmail.bleedobsidian.itemcase.commands.ModifyCommand;
import com.gmail.bleedobsidian.itemcase.commands.DestroyCommand; import com.gmail.bleedobsidian.itemcase.commands.DestroyCommand;
import org.bukkit.command.Command; import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandExecutor;
@ -46,7 +46,7 @@ public final class CommandHandler implements CommandExecutor {
switch(args[0]) { switch(args[0]) {
case "create": case "create":
new CreateCommand().execute(sender, label, args); new ModifyCommand().execute(sender, label, args);
break; break;
case "destroy": case "destroy":
new DestroyCommand().execute(sender, label, args); new DestroyCommand().execute(sender, label, args);

View File

@ -24,7 +24,7 @@ import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
/** /**
* A command handler for the 'create' command. * A command handler for the 'destroy' command.
* *
* @author Jesse Prescott (BleedObsidian) * @author Jesse Prescott (BleedObsidian)
*/ */

View File

@ -32,7 +32,6 @@ import org.bukkit.Bukkit;
import org.bukkit.Location; import org.bukkit.Location;
import org.bukkit.OfflinePlayer; import org.bukkit.OfflinePlayer;
import org.bukkit.World; import org.bukkit.World;
import org.bukkit.configuration.ConfigurationSection;
import org.bukkit.inventory.Inventory; import org.bukkit.inventory.Inventory;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;