Add default EnchantCommand. Tim, The Enchanter - I AM DEATH! Adds BUKKIT-2961

This commit is contained in:
EvilSeph
2012-11-16 16:11:30 -06:00
parent f3468327b9
commit ea864fbaf7
4 changed files with 177 additions and 0 deletions

View File

@@ -2,6 +2,7 @@ package org.bukkit.enchantments;
import java.util.HashMap;
import java.util.Map;
import org.bukkit.command.defaults.EnchantCommand;
import org.bukkit.inventory.ItemStack;
/**
@@ -233,6 +234,7 @@ public abstract class Enchantment {
*/
public static void stopAcceptingRegistrations() {
acceptingNew = false;
EnchantCommand.buildEnchantments();
}
/**