diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecartHopper.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecartHopper.java index 9bd358d3e9..38a5e02ced 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecartHopper.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftMinecartHopper.java @@ -28,4 +28,14 @@ final class CraftMinecartHopper extends CraftMinecart implements HopperMinecart public Inventory getInventory() { return inventory; } + + @Override + public boolean isEnabled() { + return ((EntityMinecartHopper) getHandle()).C(); // PAIL: Rename isEnabled + } + + @Override + public void setEnabled(boolean enabled) { + ((EntityMinecartHopper) getHandle()).k(enabled); // PAIL: Rename setEnabled + } }