From 6efa87306bf6549864182edd77b989b90fa1a637 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 16 Mar 2016 19:53:18 -0400 Subject: [PATCH] Implement EnderCrystal#isShowingBottom and EnderCrystal#setShowingBottom(boolean) --- .../bukkit/craftbukkit/entity/CraftEnderCrystal.java | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderCrystal.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderCrystal.java index 2bcf3a1a02..58b9cb8597 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderCrystal.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftEnderCrystal.java @@ -10,6 +10,16 @@ public class CraftEnderCrystal extends CraftEntity implements EnderCrystal { super(server, entity); } + @Override + public boolean isShowingBottom() { + return getHandle().k(); // PAIL: Rename isShowingBottom + } + + @Override + public void setShowingBottom(boolean showing) { + getHandle().a(showing); // PAIL: Rename setShowingBottom + } + @Override public EntityEnderCrystal getHandle() { return (EntityEnderCrystal) entity;