16945 Commits

Author SHA1 Message Date
Dylan T
6cbb03bf9b
README: change title of discussion section
[ci skip]

I've always hated the way the / looks here
2023-07-03 18:18:30 +01:00
Dylan K. Taylor
588a754f1c
Merge branch 'legacy/pm4' into stable 2023-07-01 13:33:59 +01:00
Dylan K. Taylor
70dd9c7371
AsyncTask: fixed reentrancy bug tested by f8e6f036affaaca135103556bd2c7f15a943d29b 2023-07-01 13:27:32 +01:00
Dylan K. Taylor
f8e6f036af
AsyncPoolTest: added failing test case for AsyncTask::__destruct() reentrancy bug 2023-07-01 13:24:50 +01:00
Dylan K. Taylor
b78c18ad2d
changelog: fix header size :(
[ci skip]
2023-07-01 12:23:19 +01:00
Dylan K. Taylor
41281db6a5
5.1.4 is next 2023-07-01 12:18:13 +01:00
Dylan K. Taylor
2278275505
Release 5.1.3 5.1.3 2023-07-01 12:18:10 +01:00
Dylan K. Taylor
53a6d8451b
Merge branch 'legacy/pm4' into stable 2023-07-01 12:05:42 +01:00
Dylan K. Taylor
bbabccfc89
4.22.3 is next 2023-07-01 12:04:59 +01:00
Dylan K. Taylor
1698eac6dc
Release 4.22.2 4.22.2 2023-07-01 12:04:59 +01:00
Dylan K. Taylor
83378d9403
Merge branch 'legacy/pm4' into stable 2023-07-01 11:57:59 +01:00
Dylan K. Taylor
321972b87b
Composer: do not allow automatic minor dependency updates
manual intervention should always be used here, since we need to present a consistent API to plugins.
2023-07-01 11:57:13 +01:00
Dylan K. Taylor
24b74a96eb
Merge branch 'legacy/pm4' into stable 2023-07-01 11:52:42 +01:00
Dylan K. Taylor
e61796b146
Composer: do not allow automatic minor dependency updates
manual intervention should always be used here, since we need to present a consistent API to plugins.
2023-07-01 11:49:44 +01:00
Dylan K. Taylor
c86c9b3ead
Update Composer dependencies 2023-07-01 11:43:36 +01:00
Dylan K. Taylor
249ef9c534
ProcessLoginTask: remove old key expiry
since we don't have a hard date for this, and I've already made one wrong educated guess, I'd rather not have another massive outage.
A security update will have to be made to remove the old key as soon as the new one is rolled. This is not ideal, but it's the least disruptive option.
2023-07-01 11:41:04 +01:00
Dylan K. Taylor
17842703a1
Merge branch 'legacy/pm4' into stable 2023-07-01 10:29:23 +01:00
Dylan K. Taylor
f4dab17a1b
Added deprecation notices 2023-07-01 10:29:14 +01:00
Dylan K. Taylor
eed423505e
Merge branch 'legacy/pm4' into stable 2023-07-01 10:28:34 +01:00
Dylan K. Taylor
2b40c1a5be
Revert "tools/generate-blockstate-upgrade-schema: improve property remapping checks"
This reverts commit b8788c55c58effd04f5d8774ae04dd1656813abb.

This changes behaviour, so it needs to target minor-next.
2023-06-26 16:07:52 +01:00
Dylan K. Taylor
74d219dcb6
Revert "tools/generate-blockstate-upgrade-schema: reduce dependencies for generating blockstate mappings"
This reverts commit 470a3e1a3acfeb3f524e47082160ab6461b2474f.

This changes behaviour, so it needs to target minor-next.
2023-06-26 16:07:23 +01:00
Dylan K. Taylor
470a3e1a3a
tools/generate-blockstate-upgrade-schema: reduce dependencies for generating blockstate mappings 2023-06-26 12:40:17 +01:00
Dylan K. Taylor
ad67fb7291
BlockStateUpgradeSchemaModelBlockRemap: added missing @required tag 2023-06-24 16:22:29 +01:00
Dylan K. Taylor
3eed0a4620
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2023-06-24 16:14:37 +01:00
Dylan K. Taylor
b8788c55c5
tools/generate-blockstate-upgrade-schema: improve property remapping checks
this is now able to determine which properties were renamed and/or changed when multiple renames occurred in a single version.
This also fixes unrelated properties being considered mapped to each other when there was only one property in the old and new state (e.g. mapped_type and deprecated for hay_bale in 1.10). Now, these are properly considered as unrelated.
2023-06-24 16:14:28 +01:00
Dylan K. Taylor
c06763c59b
Fixed crash in CakeWithCandle when block-picking 2023-06-23 12:55:47 +01:00
dependabot[bot]
881451c40c
Bump build/php from 8cb2a2b to 2a21c57 (#5856)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `8cb2a2b` to `2a21c57`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](8cb2a2b218...2a21c57900)

---
updated-dependencies:
- dependency-name: build/php
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-23 11:00:59 +01:00
Dylan K. Taylor
8dedbb7471
World: clamp clickVector components from 0-1
this ensures that #5827 won't randomly start crashing if clients give bad values.
2023-06-21 16:59:14 +01:00
Dylan K. Taylor
6f82942c64
Block: document onInteract() clickVector 2023-06-21 16:57:39 +01:00
Dylan K. Taylor
9d0d60afd1
BlockPlaceEvent: ensure that getPosition() is always correct
since BlockTransaction was designed to be World-agnostic, it can't position() any blocks, since Position requires a World.

This workaround is the best we can do for now; however, it would probably be wise to deprecate getTransaction() in favour of a dedicated getBlocks() method which takes care of this, as BlockPlaceEvent is currently quite obnoxious to use.
2023-06-21 15:36:48 +01:00
Artem Vasyagin
391732f00c
Fix Player->setGamemode() doc comment (#5848)
this has been outdated likely since the 1.3 alpha days.
2023-06-21 09:29:48 +01:00
dependabot[bot]
be8cca1d55
Bump docker/build-push-action from 4.1.0 to 4.1.1 (#5834)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  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>
2023-06-19 15:25:26 +01:00
Dylan K. Taylor
eb9f804781
ÂBedrockWorldData: throw less confusing errors on missing version tags 2023-06-19 12:22:50 +01:00
Dylan K. Taylor
ff0199cdf8
Fixed blue candle being missing from the creative inventory
this coincidentally fixes mangrove doors being tagged with unwanted blockstate runtime IDs. Their items client-side are not actually blockitems, so the client doesn't expect them to have blockstate IDs attached.
This reduces the chaos in the creative inventory slightly (for some reason the client responds to this stuff by putting random creative items in the wrong places), but the mess is still substantial and I don't know what caused the rest of it.

closes #5818

technically we shouldn't be breaking BC of internals signatures in a patch release, but it's internals, and that's an unwritten rule anyway. In any case, no one is likely to be affected.
2023-06-13 18:03:10 +01:00
dependabot[bot]
39a6a9ee70
Bump phpunit/phpunit from 10.2.1 to 10.2.2 (#5824)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.2.1 to 10.2.2.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.2.2/ChangeLog-10.2.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.2.1...10.2.2)

---
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>
2023-06-12 13:40:48 +01:00
dependabot[bot]
0939301938
Bump docker/build-push-action from 4.0.0 to 4.1.0 (#5823)
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-12 13:40:30 +01:00
HBIDamian
202be92c06
RGB PMMP Logo (#5825) 2023-06-12 13:30:44 +01:00
dependabot[bot]
1d25e15ec8
Bump build/php from fcbc15f to 8cb2a2b (#5820)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `fcbc15f` to `8cb2a2b`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](fcbc15f23e...8cb2a2b218)

---
updated-dependencies:
- dependency-name: build/php
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-11 14:45:01 +01:00
Dylan K. Taylor
e85605af7f
changelog: fixed typo
[ci skip]
2023-06-09 01:44:45 +01:00
Dylan K. Taylor
92bd88c77c
5.1.3 is next 2023-06-09 01:37:46 +01:00
Dylan K. Taylor
7cd317bf39
Release 5.1.2 5.1.2 2023-06-09 01:37:45 +01:00
Dylan K. Taylor
35fc9abacf
Merge branch 'legacy/pm4' into stable 2023-06-09 01:34:33 +01:00
Dylan K. Taylor
dfd70615ad
4.22.2 is next 2023-06-09 01:33:35 +01:00
Dylan K. Taylor
ee903cad1f
Release 4.22.1 4.22.1 2023-06-09 01:33:35 +01:00
Dylan K. Taylor
9a04481bec
Entity: broadcast teleports as regular movements
fixes #5810

probably fixes #4986

#5810 was caused by the workaround for #4394, which broke in 1.20 for reasons I'm still unclear on.

As FLAG_TELEPORT does not work at all for non-player entities, and causes bugs with player entities, sending the teleport movement without the flag is the least buggy way to solve all of these issues. Having the client interpolate teleport movements is not ideal, but there doesn't seem to be a way to reliably prevent it without causing even more bugs, so this will have to do.
2023-06-09 01:24:57 +01:00
Dylan K. Taylor
a46dfaf677
5.1.2 is next 2023-06-07 21:59:28 +01:00
Dylan K. Taylor
4a3b175468
Release 5.1.1 5.1.1 2023-06-07 21:59:28 +01:00
Dylan K. Taylor
73ee94b62c
Fixed BlockStateData::CURRENT_VERSION 2023-06-07 21:58:21 +01:00
Dylan K. Taylor
ab83210aa0
5.1.1 is next 2023-06-07 21:35:11 +01:00
Dylan K. Taylor
3f2d51c58a
Release 5.1.0 5.1.0 2023-06-07 21:35:10 +01:00