mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable
This commit is contained in:
commit
28ce7ac5fd
2
.github/workflows/draft-release.yml
vendored
2
.github/workflows/draft-release.yml
vendored
@ -86,7 +86,7 @@ jobs:
|
|||||||
${{ github.workspace }}/build_info.json
|
${{ github.workspace }}/build_info.json
|
||||||
|
|
||||||
- name: Create draft release
|
- name: Create draft release
|
||||||
uses: ncipollo/release-action@v1.12.0
|
uses: ncipollo/release-action@v1.13.0
|
||||||
with:
|
with:
|
||||||
artifacts: ${{ github.workspace }}/PocketMine-MP.phar,${{ github.workspace }}/start.*,${{ github.workspace }}/build_info.json
|
artifacts: ${{ github.workspace }}/PocketMine-MP.phar,${{ github.workspace }}/start.*,${{ github.workspace }}/build_info.json
|
||||||
commit: ${{ github.sha }}
|
commit: ${{ github.sha }}
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit a053f65e1897e432478229071383fe1ba16032c3
|
Subproject commit 8884039bee1db64acca83edd57ed5e25d69287b9
|
@ -201,7 +201,7 @@ class InGamePacketHandler extends PacketHandler{
|
|||||||
}
|
}
|
||||||
|
|
||||||
$hasMoved = $this->lastPlayerAuthInputPosition === null || !$this->lastPlayerAuthInputPosition->equals($rawPos);
|
$hasMoved = $this->lastPlayerAuthInputPosition === null || !$this->lastPlayerAuthInputPosition->equals($rawPos);
|
||||||
$newPos = $rawPos->round(4)->subtract(0, 1.62, 0);
|
$newPos = $rawPos->subtract(0, 1.62, 0)->round(4);
|
||||||
|
|
||||||
if($this->forceMoveSync && $hasMoved){
|
if($this->forceMoveSync && $hasMoved){
|
||||||
$curPos = $this->player->getLocation();
|
$curPos = $this->player->getLocation();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user