diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java index a50df490..18da3121 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftHumanEntity.java @@ -3,11 +3,8 @@ package org.bukkit.craftbukkit.entity; import java.util.Set; import net.minecraft.server.Container; -import net.minecraft.server.ContainerBrewingStand; -import net.minecraft.server.ContainerWorkbench; import net.minecraft.server.EntityHuman; import net.minecraft.server.EntityPlayer; -import net.minecraft.server.ICrafting; import net.minecraft.server.Packet100OpenWindow; import net.minecraft.server.Packet101CloseWindow; import net.minecraft.server.TileEntityBrewingStand; @@ -18,7 +15,6 @@ import org.bukkit.GameMode; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.entity.HumanEntity; -import org.bukkit.event.inventory.InventoryOpenEvent; import org.bukkit.event.inventory.InventoryType; import org.bukkit.inventory.Inventory; import org.bukkit.inventory.InventoryView; @@ -311,4 +307,8 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity { public boolean setWindowProperty(InventoryView.Property prop, int value) { return false; } + + public int getExpToLevel() { + return getHandle().getExpToLevel(); + } } |