mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Adds an option to disable the movement check.
This commit is contained in:
parent
65322f13b8
commit
70ef24fd95
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ public class BedrockMovePlayerTranslator extends PacketTranslator<MovePlayerPack
|
|||
session.getUpstream().sendPacketImmediately(moveEntityBack);
|
||||
return;
|
||||
}
|
||||
if (((GeyserConnector)Geyser.getConnector()).getConfig().isMovementCheck()) {
|
||||
if (session.getConnector().getConfig().isMovementCheck()) {
|
||||
if (!isValidMove(session, packet.getMode(), entity.getPosition(), packet.getPosition())) {
|
||||
session.getConnector().getLogger().info("Recalculating position...");
|
||||
recalculatePosition(session, entity, entity.getPosition());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue