mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Implement EndGateway#isExactTeleport and EndGateway#setExactTeleport(boolean)
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user