From 8effa51854b1a0ada4007c1d4f28c8800e2e79ae Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 5 Jan 2015 10:00:40 +1100 Subject: SPIGOT-323: Enchanting tables can no longer be force opened. (reverted from commit a2aa082c09ebd0f2372d2f920310a37f95513b0a) --- src/main/java/org/bukkit/entity/HumanEntity.java | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'src') diff --git a/src/main/java/org/bukkit/entity/HumanEntity.java b/src/main/java/org/bukkit/entity/HumanEntity.java index edcdce32..3f8646dd 100644 --- a/src/main/java/org/bukkit/entity/HumanEntity.java +++ b/src/main/java/org/bukkit/entity/HumanEntity.java @@ -76,18 +76,6 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv */ public InventoryView openWorkbench(Location location, boolean force); - /** - * Opens an empty enchanting inventory window with the player's inventory - * on the bottom. - * - * @param location The location to attach it to. If null, the player's - * location is used. - * @return The newly opened inventory view, or null if it could not be - * opened. - * @deprecated You cannot force open an enchanting table. - */ - public InventoryView openEnchanting(Location location); - /** * Opens an empty enchanting inventory window with the player's inventory * on the bottom. @@ -98,9 +86,7 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, Permissible, Inv * location, no inventory will be opened and null will be returned. * @return The newly opened inventory view, or null if it could not be * opened. - * @deprecated You cannot force open an enchanting table. */ - @Deprecated public InventoryView openEnchanting(Location location, boolean force); /** -- cgit v1.2.3