Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean)

This commit is contained in:
Matthew authored and md_5 committed 2016-03-18 14:30:03 +11:00
1 parent 205982588f
commit e80114dff4
2 files changed
+14 -2

No files matched your search

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