14567 Commits

Author SHA1 Message Date
Dylan K. Taylor
8a4bc72b34
Release 4.0.8 4.0.8 2022-01-25 23:33:20 +00:00
Dylan K. Taylor
32b07e0940
World: avoid repeated getInstance() calls in hot paths 2022-01-24 21:08:12 +00:00
dependabot[bot]
99f087e5e1
Bump phpunit/phpunit from 9.5.12 to 9.5.13 (#4767)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.12 to 9.5.13.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.12...9.5.13)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 14:21:49 +00:00
Dylan K. Taylor
aaf7a88de7
HayBale: fixed fall damage 2022-01-22 21:26:44 +00:00
Leo Lee
67a0ae0246
Fixed incorrect drops for ender chest (#4751) 2022-01-22 14:01:56 +00:00
Dylan K. Taylor
b3fec3d86f
Merge branch 'legacy/pm3' into stable 2022-01-22 00:54:46 +00:00
Dylan K. Taylor
60ef2db892
3.27.1 is next 2022-01-22 00:36:48 +00:00
Dylan K. Taylor
e21446e583
Release 3.27.0 3.27.0 2022-01-22 00:36:47 +00:00
Dylan K. Taylor
7bf0bc2ca7
Merge commit 'b33a75a6d121bdbdd23765795a375f1ec1a5f7c9' into stable 2022-01-22 00:32:49 +00:00
Dylan K. Taylor
e5a9123522
PocketMine.php: require ext-crypto 2022-01-22 00:30:05 +00:00
Dylan K. Taylor
09201ac14b
Fixed chunk sending
we can't cache the encapsulated stuff anymore because of encryption.
2022-01-22 00:24:31 +00:00
Dylan K. Taylor
0697c7d316
Clean up according to newer php-cs-fixer 2022-01-21 23:45:49 +00:00
Dylan K. Taylor
1eae133118
fixed PHPStan build 2022-01-21 23:39:37 +00:00
Dylan K. Taylor
d28be4eaf2
Quick and dirty backport of encryption, preserving BC 2022-01-21 23:05:21 +00:00
Dylan K. Taylor
b33a75a6d1
Updated transient dependency junk 2022-01-21 20:45:36 +00:00
Dylan K. Taylor
f9c8c0e34d
4.0.8 is next 2022-01-21 19:39:31 +00:00
Dylan K. Taylor
58ba4f680f
Release 4.0.7 4.0.7 2022-01-21 19:39:30 +00:00
Dylan K. Taylor
8c5cc67e07
Updated baseline 2022-01-21 19:38:59 +00:00
Dylan K. Taylor
ab8b24bcd2
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2022-01-21 19:15:59 +00:00
Dylan K. Taylor
94c4f58667
Fixed bogus test 2022-01-21 19:13:36 +00:00
Dylan K. Taylor
c10eda5eae
InGamePacketHandler: limit depth of form responses to 2
form responses should only contain string|int|float|bool|null. Arrays or objects appearing in here are likely malicious.
2022-01-21 19:11:58 +00:00
Dylan K. Taylor
ed312863a7
ignore phpstan bug 2022-01-21 18:43:53 +00:00
Dylan K. Taylor
387c13beff
InGamePacketHandler: fixed invalid JSON being treated as form close 2022-01-21 18:32:58 +00:00
Dylan K. Taylor
56fe71d939
InGamePacketHandler: fixed crash in form handling when invalid JSON is given 2022-01-21 17:34:13 +00:00
dependabot[bot]
73d8c87b76
Bump phpunit/phpunit from 9.5.11 to 9.5.12 (#4748)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.11 to 9.5.12.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-9.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.5.11...9.5.12)

---
updated-dependencies:
- dependency-name: phpunit/phpunit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-21 14:53:03 +00:00
Dylan K. Taylor
061d851fbd
World: do not update entities which have been flagged for despawn
fixes #4718
2022-01-20 16:27:21 +00:00
Dylan K. Taylor
a67aef0477
PlayerInteractEvent: updated documentation 2022-01-20 16:10:37 +00:00
Dylan K. Taylor
858024afb7
Remove useless docs noticed by php-cs-fixer 3.5 2022-01-18 00:24:12 +00:00
Dylan K. Taylor
eaaf00ca2b
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2022-01-18 00:23:39 +00:00
Dylan K. Taylor
f1723acfd3
UnsafeForeachArrayOfStringRule: use statically analysable function reference
this will ensure that it get automatically updated during refactors.
2022-01-18 00:23:29 +00:00
Dylan K. Taylor
8da27ea0aa
UnsafeForeachArrayOfStringRule: fixed outdated function name 2022-01-18 00:15:44 +00:00
dependabot[bot]
388622d55d
Bump pocketmine/locale-data from 2.3.0 to 2.3.33 (#4735)
Bumps [pocketmine/locale-data](https://github.com/pmmp/Language) from 2.3.0 to 2.3.33.
- [Release notes](https://github.com/pmmp/Language/releases)
- [Commits](https://github.com/pmmp/Language/compare/2.3.0...2.3.33)

---
updated-dependencies:
- dependency-name: pocketmine/locale-data
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 20:46:38 +00:00
Dylan K. Taylor
bac6a2a1eb
cs: enable fully_qualified_strict_types rule 2022-01-16 22:12:51 +00:00
Dylan K. Taylor
b9b76eaed2
Server: add notice about obsoletion 2022-01-16 22:11:50 +00:00
Leo Lee
9f4fcfafdb
Fixed some incorrect block breaking times (#4723) 2022-01-16 20:57:16 +00:00
Dylan K. Taylor
6679c53e56
BrewingStand: fixed collision box 2022-01-15 16:41:27 +00:00
Dylan K. Taylor
9d061e86af
4.0.7 is next 2022-01-13 21:46:30 +00:00
Dylan K. Taylor
f7d25f251e
Release 4.0.6 4.0.6 2022-01-13 21:46:30 +00:00
Dylan K. Taylor
0ccb47fb07
make-release: trap more errors 2022-01-13 21:46:06 +00:00
Dylan K. Taylor
0973472842
actions: bump to 8.0.14 2022-01-13 21:23:23 +00:00
Dylan K. Taylor
f126479c37
InGamePacketHandler: check the validity of facing values given by the client 2022-01-13 21:21:15 +00:00
dependabot[bot]
d34f4b28b3
Bump pocketmine/binaryutils from 0.2.3 to 0.2.4 (#4726)
Bumps [pocketmine/binaryutils](https://github.com/pmmp/BinaryUtils) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/pmmp/BinaryUtils/releases)
- [Commits](https://github.com/pmmp/BinaryUtils/compare/0.2.3...0.2.4)

---
updated-dependencies:
- dependency-name: pocketmine/binaryutils
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 14:21:32 +00:00
Dylan K. Taylor
8a65fd273a
Updated RakLib to 0.14.3 2022-01-10 22:29:38 +00:00
Dylan K. Taylor
248cc0ef49
actions: colorize diff output on CS failure 2022-01-10 22:06:07 +00:00
Dylan K. Taylor
d1726aa20c
CS: use fully_qualified_strict_types 2022-01-10 21:41:56 +00:00
Jack Honour
58e1e7bd6f
Worker: fixed missing AsyncTask import for documentation (#4719)
OCD from f5c9c02e09f54b53ed4c495c8a0000b54930ccef
2022-01-10 15:12:37 +00:00
Dylan K. Taylor
0a5b146189
substr() returns an empty string instead of false in 8.0
an empty string will pass through preg_match_all() without any harmful effects, so we don't need to check for it.
2022-01-07 22:38:00 +00:00
Dylan K. Taylor
b4e1871899
Updated PHPStan baseline 2022-01-07 21:49:49 +00:00
Dylan K. Taylor
78eaa0993d
Merge branch 'legacy/pm3' into stable 2022-01-07 21:48:28 +00:00
Dylan K. Taylor
bee2aba813
Updated PHPStan baseline 2022-01-07 21:46:35 +00:00