mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 03:16:35 +00:00
InGamePacketHandler: skip processing movement if the player's position
was changed during processing other properties (#4913) fixes #4952
This commit is contained in:
parent
2efce35331
commit
741182c55f
@ -228,8 +228,10 @@ class InGamePacketHandler extends PacketHandler{
|
|||||||
$this->player->jump();
|
$this->player->jump();
|
||||||
}
|
}
|
||||||
|
|
||||||
//TODO: this packet has WAYYYYY more useful information that we're not using
|
if(!$this->forceMoveSync){
|
||||||
$this->player->handleMovement($newPos);
|
//TODO: this packet has WAYYYYY more useful information that we're not using
|
||||||
|
$this->player->handleMovement($newPos);
|
||||||
|
}
|
||||||
|
|
||||||
$packetHandled = true;
|
$packetHandled = true;
|
||||||
|
|
||||||
|
@ -85,3 +85,8 @@ parameters:
|
|||||||
count: 2
|
count: 2
|
||||||
path: ../../../src/world/format/io/region/RegionLoader.php
|
path: ../../../src/world/format/io/region/RegionLoader.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Negated boolean expression is always true\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: ../../../src/network/mcpe/handler/InGamePacketHandler.php
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user