Commit Graph

17041 Commits

Author SHA1 Message Date
Dylan K. Taylor
3c34841dfc CS 2023-07-19 14:00:35 +01:00
Dylan K. Taylor
914dd90b3d Use first-class closures in more places 2023-07-19 13:56:48 +01:00
Dylan K. Taylor
537721fe7d Replace Closure::fromCallable() usages with first-class callables
PHP 8.1 <3
2023-07-19 13:34:42 +01:00
Dylan K. Taylor
fba51e3bf9 Merge branch 'stable' into minor-next 2023-07-19 13:22:07 +01:00
Dylan K. Taylor
763241b11f Fixed burning animations for fireproof entities
creative players are not technically fireproof; they just don't take any damage from fire
2023-07-19 12:32:00 +01:00
Dylan K. Taylor
8414c78969 Fixed netherite items burning in lava 2023-07-19 11:49:52 +01:00
Dylan K. Taylor
4637aae621 Living: do not apply noDamageTicks to suicide damage
suicide damage is a voluntary damage source, which noDamageTicks is intended to prevent getting damaged while the player gets their bearings after (re)spawning.
2023-07-19 11:43:09 +01:00
Dylan K. Taylor
6fbc133e5d Merge branch 'stable' into minor-next 2023-07-18 22:22:37 +01:00
Dylan K. Taylor
f38aee1fc5 5.3.3 is next 2023-07-18 22:18:39 +01:00
Dylan K. Taylor
69abd5eb53 Release 5.3.2 5.3.2 2023-07-18 22:18:39 +01:00
Dylan K. Taylor
f6ee7ddc9e Merge branch 'legacy/pm4' into stable 2023-07-18 22:15:23 +01:00
Dylan K. Taylor
cff4a8d2bc 4.23.3 is next 2023-07-18 22:14:24 +01:00
Dylan K. Taylor
20b7e8d702 Release 4.23.2 4.23.2 2023-07-18 22:14:23 +01:00
Dylan K. Taylor
c6110be051 Update BedrockProtocol dependency 2023-07-18 22:12:33 +01:00
Dylan K. Taylor
c053742f5d Living: avoid updates of non-armor slots and armor slots which took no damage
this was also updating empty slots ...
2023-07-18 13:04:11 +01:00
Dylan K. Taylor
0051b34797 Living: fixed turtle helmet being non-removable and spamming inventory updates
closes #5786
2023-07-18 12:58:07 +01:00
Dylan K. Taylor
a74ab756bd AsyncTask: strip out task cancellation functionality
closes #5854

Cancelling task runs doesn't make any sense.

- It breaks sequential task execution - later tasks might depend on state from earlier tasks
- It doesn't actually cancel the task - at best, it prevents it from running, but cannot interrupt it (though interrupting a task does not make sense either)

We don't use this "feature" in the core anymore since 22b5e5db5e, as this was causing unexpected behaviour for plugins anyway, along with the occasional shutdown crash due to inconsistent worker states.
2023-07-18 12:45:30 +01:00
Dylan K. Taylor
90520c8962 Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into minor-next 2023-07-18 12:39:52 +01:00
Dylan K. Taylor
2e9a4f2be2 Merge branch 'trees' into minor-next 2023-07-18 12:39:41 +01:00
ipad54
e23806d417 Stem: fixed supporting block check issue (#5907)
This bug was introduced in dca752c72f
2023-07-18 12:31:20 +01:00
dependabot[bot]
30db658d70 Bump phpunit/phpunit from 10.2.5 to 10.2.6 (#5909)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.2.5 to 10.2.6.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.2.6/ChangeLog-10.2.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.2.5...10.2.6)

---
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-07-18 11:34:13 +01:00
ipad54
83d11c7429 Implemented Big & Small dripleaf (#5835) 2023-07-17 16:30:52 +01:00
Dylan K. Taylor
4c6b82f30a Merge remote-tracking branch 'origin/stable' into minor-next 2023-07-17 16:13:16 +01:00
ShockedPlot7560
fb6a7d279f Implement fortune enchantment (#5757) 2023-07-17 11:13:45 +01:00
dependabot[bot]
0c1bfb058a Bump phpunit/phpunit from 10.2.3 to 10.2.5 (#5898)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 10.2.3 to 10.2.5.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/10.2.5/ChangeLog-10.2.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/10.2.3...10.2.5)

---
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-07-14 17:45:36 +01:00
Wertzui123
45d1ce9bb8 Don't mention enchantments in generic StringToTParser doc-comment (#5894) 2023-07-14 17:42:19 +01:00
IvanCraft623
8c8794ec71 Allow use ConsumingItemAnimation with Living entities (#5897) 2023-07-14 17:41:46 +01:00
Dylan K. Taylor
b399eda21e Merge branch 'stable' into minor-next 2023-07-14 13:27:50 +01:00
Dylan K. Taylor
f7c08dedee 5.3.2 is next 2023-07-14 13:08:58 +01:00
Dylan K. Taylor
250d18e41b Release 5.3.1 5.3.1 2023-07-14 13:08:57 +01:00
Dylan K. Taylor
86bd6777a3 4.23.2 is next 2023-07-14 13:06:26 +01:00
Dylan K. Taylor
935df62006 Release 4.23.1 4.23.1 2023-07-14 13:06:26 +01:00
Dylan K. Taylor
489a7ba365 Merge branch 'legacy/pm4' into stable 2023-07-14 13:03:14 +01:00
Dylan K. Taylor
2709dd359c ProcessLoginTask: fixed backport errors 2023-07-14 12:37:50 +01:00
Dylan K. Taylor
4e646d19a4 Harden login EC key validation 2023-07-14 11:55:47 +01:00
Dylan K. Taylor
2a11762e61 Update JsonMapper dependency 2023-07-14 11:54:05 +01:00
Dylan K. Taylor
dca752c72f Stem: implement facing property
fixes #5858

technically speaking, the sideways states for non-fully-grown stems shouldn't exist, but they do in Bedrock, and changing this code to split non-fully-grown stems from fully grown ones would likely require BC breaks.
This was the minimum necessary to achieve the desired functionality.
2023-07-13 14:50:26 +01:00
jasonw_4331
259cc305df Implement 1.20.10 short sneaking (#5892) 2023-07-13 13:36:53 +01:00
ace
7132ac0ad3 Implemented strong slowness potion (#5888) 2023-07-13 13:22:01 +01:00
Dylan K. Taylor
0d8a06732a Merge branch 'stable' into minor-next 2023-07-13 12:59:53 +01:00
Dylan K. Taylor
d2f4ba74c6 Updated build/php submodule to pmmp/PHP-Binaries@e0c918d137 2023-07-13 12:59:43 +01:00
Dylan K. Taylor
d4716ef457 5.3.1 is next 2023-07-12 14:08:08 +01:00
Dylan K. Taylor
d630b3af7b Release 5.3.0 5.3.0 2023-07-12 14:07:58 +01:00
Dylan K. Taylor
c2bb51cb37 Merge branch 'legacy/pm4' into stable 2023-07-12 13:45:37 +01:00
Dylan K. Taylor
7e0b5cf73d 4.23.1 is next 2023-07-12 13:44:16 +01:00
Dylan K. Taylor
e903da8998 Release 4.23.0 4.23.0 2023-07-12 13:44:16 +01:00
Dylan K. Taylor
b7210755a7 1.20.10 2023-07-12 13:39:39 +01:00
Dylan K. Taylor
f2193d1ba7 1.20.10 2023-07-12 13:23:47 +01:00
Dylan K. Taylor
4daacb2ab7 Merge branch 'legacy/pm4' into stable 2023-07-12 12:11:36 +01:00
Dylan K. Taylor
f7977c9668 Update build/php submodule to pmmp/PHP-Binaries@16378ffcc3 2023-07-12 12:10:09 +01:00