Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean)

By: Matthew <stteg@hotmail.com>
This commit is contained in:
CraftBukkit/Spigot
2016-03-16 21:48:53 -04:00
parent 05f89ee25c
commit c5080500ff
2 changed files with 14 additions and 2 deletions

View File

@@ -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);