From e80114dff4db3ecaf7bbc4b090bce1eee494e864 Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 16 Mar 2016 21:48:53 -0400 Subject: Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean) --- .../java/org/bukkit/craftbukkit/block/CraftEndGateway.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java b/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java index 0828b36e..4e49b18a 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftEndGateway.java @@ -43,6 +43,16 @@ public class CraftEndGateway extends CraftBlockState implements EndGateway { } } + @Override + public boolean isExactTeleport() { + return gateway.i; // PAIL: Rename exactTeleport + } + + @Override + public void setExactTeleport(boolean exact) { + gateway.i = exact; + } + @Override public boolean update(boolean force, boolean applyPhysics) { boolean result = super.update(force, applyPhysics); -- cgit v1.2.3