6d622c4020
Merge branch 'stable'
2021-03-14 23:32:09 +00:00
cbc8576d4a
Implement UPnP support without dotNET ( #3378 )
...
UPnP forwarding is now available on all supported platforms.
com_dotnet is no longer required for UPnP forwarding to work.
Closes #3216 .
2021-03-14 22:50:33 +00:00
edcf296086
RakLibInterface: fixed server being unjoinable if gamemode is Spectator
...
closes #4069
this happens because the client bans any server that has an invalid pong, which is very stupid in this case because the gamemode isn't even shown on the UI anyway ...
2021-03-14 20:35:17 +00:00
3fe0adbd7f
Merge branch 'stable'
2021-03-14 20:14:08 +00:00
a7dbc2c77b
Merge tag '3.17.7'
2021-03-14 19:29:32 +00:00
a0368a843e
3.18.1 is next
2021-03-12 22:07:01 +00:00
3f64906263
Release 3.18.0
2021-03-12 22:07:01 +00:00
4816a66fb8
Baseline protocol changes for 1.16.210
...
this is not a complete changeset, but it's sufficient to get servers back online.
There are additional changes to PlayerAuthInputPacket which need to be reversed.
2021-03-12 21:41:48 +00:00
30c5cad5b3
Release 3.17.7
2021-03-11 00:22:17 +00:00
5b8166c1f0
3.17.8 is next
2021-03-11 00:22:17 +00:00
f95fcecb5b
3.17.7 is next
2021-03-10 20:49:10 +00:00
61391b6e23
Release 3.17.6
2021-03-10 20:48:57 +00:00
fbb6f1f81c
Workaround for cursor sync in 1.13+, closes #4059
2021-03-07 21:17:52 +00:00
c1e5dd2a4e
Merge branch 'stable'
2021-03-07 20:15:11 +00:00
ed84252942
Player: Improved XUID verification
...
we check if an existing player is online with a matching XUID first; if there isn't, we don't bother loading the playerdata, since that other player couldn't have joined unless they had a match or were allowed to bypass.
2021-03-07 19:53:19 +00:00
e755e1dc23
ResourcePackClientResponsePacket: fixed non-deterministic decoding
2021-02-27 01:08:18 +00:00
78f9985377
Player: fixed PlayerMoveEvent->getFrom() returning unexpected results on movement reversion
...
fixes #4043
2021-02-26 00:30:42 +00:00
fac2bd3379
Liquid: mark getSmallestFlowDecay() as impure
...
this fixes two bogus PHPStan warnings.
2021-02-25 22:41:07 +00:00
b5361d5831
Falling lava may not harden
...
fixes #4050
this was not an issue on PM3 because the decay and falling state were both combined into the meta.
2021-02-25 22:36:53 +00:00
a49ee0d6b0
World: mark addTile() and removeTile() as @internal
2021-02-24 23:42:09 +00:00
fcfd51dfc7
CrashDump: do not put FALSE into crashdumps in case file_get_contents() failed
2021-02-23 19:39:21 +00:00
ccc76cf338
Make less noise about XBL being enabled
...
this has been in force for years now, it's expected by now.
2021-02-23 19:25:22 +00:00
edbc73a72c
3.17.6 is next
2021-02-16 22:13:05 +00:00
3a0c8dd594
Release 3.17.5
2021-02-16 22:13:05 +00:00
8dd61df7ac
Fixed server crash on truncated varint in packet header
2021-02-16 20:38:15 +00:00
16fa26405a
Remove remaining usages of LevelDB::close()
...
this is handled by the object destructor.
closes #4035
2021-02-15 20:10:11 +00:00
dff13a884f
Merge branch 'stable'
2021-02-12 17:34:25 +00:00
094102fe92
fopen() might return FALSE if permission was denied to read/write the file
2021-02-12 16:16:36 +00:00
2aef83e7d7
MainLogger: fix type ambiguity
2021-02-12 15:05:24 +00:00
9a1cef0d4f
Merge branch 'stable'
2021-02-11 22:35:33 +00:00
18666e5a60
Be compatible with newest versions of php-leveldb
2021-02-11 22:33:29 +00:00
c21ec614fc
Fixed PHPStan 0.12.74 error in WorldManager
2021-02-11 16:54:14 +00:00
2a51269305
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2021-02-11 16:05:24 +00:00
672622950f
ObjectSet: make add() and remove() variadic to match ds
...
there are still some variadic usages in the code, which, infuriatingly, phpstan does not detect (phpstan/phpstan#4528 ).
2021-02-11 15:54:05 +00:00
c61f66d973
Removed ext-ds dependency
2021-02-11 15:40:37 +00:00
b03ca1953a
Remove usage of Ds\Deque from WritableBookBase
...
ext-ds is not well maintained, and also not very well written. I'm planning to drop this extension for stability's sake.
2021-02-11 14:07:49 +00:00
e061028b69
Added Hopper::setFacing() and Hopper::getFacing() ( #4030 )
2021-02-09 16:04:05 +00:00
007f4f9350
CraftingDataPacket: Remove useless @var comment
2021-02-08 11:53:50 +00:00
e80c1a0ce9
Split Mushroom Stem away from other mushroom variants
...
mushroom stem (and all-sided stem) are unique blocks, which don't drop anything and which don't stack with other shroom variants when block-picked.
They also get mapped to the same block when placed, and there's no distinction between red mushroom stem and brown mushroom stem.
2021-02-07 22:02:50 +00:00
edfe9ae745
Merge branch 'stable'
2021-02-07 21:11:24 +00:00
46e9f0cec6
Player: fixed verify-xuid not kicking in by default on old configs
2021-02-07 21:10:23 +00:00
8d5cc9adc3
Merge branch 'stable'
2021-02-07 20:57:19 +00:00
c05779314d
Allow offline player data to be provided from a custom source
2021-02-07 20:29:37 +00:00
7745310870
Use native property types for login JSON models
...
this significantly reduces the amount of PHPDoc boilerplate, because the remaining doc comments can mostly be reduced to 1 line.
2021-02-07 17:54:38 +00:00
bd4ce8d941
TNT: expose unstable flag
2021-02-06 23:46:51 +00:00
fd2ebd84b4
Recognize underwater TNT
2021-02-06 23:37:05 +00:00
609b21679f
Added Torch::setFacing() and Torch::getFacing()
...
these are not implemented with AnyFacingTrait because it would break LSP to have a setFacing that doesn't accept DOWN.
2021-02-06 22:31:36 +00:00
ce855f2133
Added isPressed() and setPressed() to PressurePlate
2021-02-06 21:20:38 +00:00
7c1f0ecb8b
Fixed getAxis()/setAxis() not being seen by static analysers for some blocks
...
when using VanillaBlocks::CHISELED_QUARTZ(), VanillaBlocks::PURPUR_PILLAR() or VanillaBlocks::QUARTZ_PILLAR(), static analysis was unable to detect getAxis() and setAxis(), because these blocks were implemented using anonymous classes.
2021-02-06 20:39:23 +00:00
9887138ac1
Get rid of anonymous classes for infested stone
2021-02-06 20:30:25 +00:00