Dylan K. Taylor
fcfd51dfc7
CrashDump: do not put FALSE into crashdumps in case file_get_contents() failed
2021-02-23 19:39:21 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
10a73488ed
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2021-02-22 16:43:51 +00:00
Dylan K. Taylor
9c5114084b
Updated Snooze to fix race conditions
2021-02-22 16:42:54 +00:00
dependabot-preview[bot]
11630ab1aa
Bump phpstan/phpstan from 0.12.76 to 0.12.77 ( #4041 )
2021-02-18 11:34:42 +00:00
Dylan K. Taylor
a3068b39a2
Update composer dependencies
2021-02-16 22:31:01 +00:00
Dylan K. Taylor
3907ae6726
Merge remote-tracking branch 'origin/stable'
2021-02-16 22:19:54 +00:00
Dylan K. Taylor
edbc73a72c
3.17.6 is next
2021-02-16 22:13:05 +00:00
Dylan K. Taylor
3a0c8dd594
Release 3.17.5
3.17.5
2021-02-16 22:13:05 +00:00
Dylan K. Taylor
8dd61df7ac
Fixed server crash on truncated varint in packet header
2021-02-16 20:38:15 +00:00
Dylan K. Taylor
16fa26405a
Remove remaining usages of LevelDB::close()
...
this is handled by the object destructor.
closes #4035
2021-02-15 20:10:11 +00:00
mmm545
57423540f0
BUILDING.md: Document server-phar.php's compression bug ( #4037 )
...
This bug is not fixable on PM's side because the fault lies with php-src. It was fixed recently in 1bb2a4f91c
.
2021-02-15 19:53:44 +00:00
dependabot-preview[bot]
8f8821c904
Bump phpstan/phpstan from 0.12.75 to 0.12.76 ( #4038 )
2021-02-15 11:25:36 +00:00
Dylan K. Taylor
dff13a884f
Merge branch 'stable'
2021-02-12 17:34:25 +00:00
Dylan K. Taylor
094102fe92
fopen() might return FALSE if permission was denied to read/write the file
2021-02-12 16:16:36 +00:00
Dylan K. Taylor
2aef83e7d7
MainLogger: fix type ambiguity
2021-02-12 15:05:24 +00:00
dependabot-preview[bot]
5c3e78e1d3
Bump phpstan/phpstan from 0.12.74 to 0.12.75 ( #4033 )
2021-02-12 14:58:01 +00:00
Dylan K. Taylor
9a1cef0d4f
Merge branch 'stable'
2021-02-11 22:35:33 +00:00
Dylan K. Taylor
18666e5a60
Be compatible with newest versions of php-leveldb
2021-02-11 22:33:29 +00:00
Dylan K. Taylor
f72163c173
Fixed build not failing when PHP build gets borked
2021-02-11 17:06:03 +00:00
Dylan K. Taylor
fd5141745d
Use a valid commit hash for pmmp/leveldb
...
the previous one pointed to the main repository, and not the pmmp fork. (Why am I maintaining a fork again? ...)
2021-02-11 17:01:10 +00:00
Dylan K. Taylor
c21ec614fc
Fixed PHPStan 0.12.74 error in WorldManager
2021-02-11 16:54:14 +00:00
Dylan K. Taylor
de0766dbef
actions: update PM4-specific extensions to PHP 8.0 compatible versions
2021-02-11 16:48:10 +00:00
Dylan K. Taylor
7573a01b17
Merge branch 'stable'
2021-02-11 16:42:23 +00:00
Dylan K. Taylor
7407e504b6
actions: bump PHP versions to 7.3.27 and 7.4.15
2021-02-11 16:35:19 +00:00
Dylan K. Taylor
0e396dc47d
actions: update PHP extension versions
2021-02-11 16:24:09 +00:00
Dylan K. Taylor
d2204da1d5
[ci skip] center the build badges
2021-02-11 16:05:55 +00:00
Dylan K. Taylor
2a51269305
Merge branch 'stable' of https://github.com/pmmp/pocketmine-mp into stable
2021-02-11 16:05:24 +00:00
Dylan K. Taylor
298034549e
actions: drop ext-ds from PHP build
2021-02-11 15:56:19 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
c61f66d973
Removed ext-ds dependency
2021-02-11 15:40:37 +00:00
Dylan K. Taylor
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
Govdim
e061028b69
Added Hopper::setFacing() and Hopper::getFacing() ( #4030 )
2021-02-09 16:04:05 +00:00
dependabot-preview[bot]
928041ddf1
Bump phpstan/phpstan from 0.12.71 to 0.12.74 ( #4028 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 0.12.71 to 0.12.74.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Commits](https://github.com/phpstan/phpstan/compare/0.12.71...0.12.74 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-08 21:42:08 +00:00
Dylan T
007f4f9350
CraftingDataPacket: Remove useless @var comment
2021-02-08 11:53:50 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
edfe9ae745
Merge branch 'stable'
2021-02-07 21:11:24 +00:00
Dylan K. Taylor
46e9f0cec6
Player: fixed verify-xuid not kicking in by default on old configs
2021-02-07 21:10:23 +00:00
Dylan K. Taylor
8d5cc9adc3
Merge branch 'stable'
2021-02-07 20:57:19 +00:00
Dylan K. Taylor
c05779314d
Allow offline player data to be provided from a custom source
2021-02-07 20:29:37 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
c456f21df8
one more
2021-02-07 17:36:49 +00:00
Dylan K. Taylor
f952a6643c
Accept PHP 8.0 compatible dependency versions in composer.json
...
composer decided that this was a good time to reorganize composer.json for me, and... well, fuck it.
2021-02-07 17:33:33 +00:00
Dylan K. Taylor
606d56b55d
Composer: lock in PHP at ^7.3 || ^8.0, don't leave it unbounded
2021-02-07 17:31:32 +00:00
Dylan K. Taylor
da7c97f885
Updated composer dependencies
2021-02-07 17:27:01 +00:00
Dylan K. Taylor
bd4ce8d941
TNT: expose unstable flag
2021-02-06 23:46:51 +00:00
Dylan K. Taylor
fd2ebd84b4
Recognize underwater TNT
2021-02-06 23:37:05 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
ce855f2133
Added isPressed() and setPressed() to PressurePlate
2021-02-06 21:20:38 +00:00
Dylan K. Taylor
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