15263 Commits

Author SHA1 Message Date
Dylan K. Taylor
86647683bc
fix CS again 2022-07-19 20:35:34 +01:00
Dylan K. Taylor
64f0e58e60
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2022-07-19 20:17:15 +01:00
Dylan K. Taylor
62f21516d1
build/generate-registry-annotations.php: allow processing a single file
this is useful for automatically invoking the script via a PhpStorm file watcher.
2022-07-19 20:17:07 +01:00
Dylan K. Taylor
c553f7cf06
build/generate-registry-annotations.php: write to stderr on error 2022-07-19 20:15:44 +01:00
IvanCraft623
fec89b7803
Lava burns entities for only 8 seconds in Bedrock (#5173) 2022-07-17 20:50:15 +01:00
Dylan K. Taylor
2b61c025c2
Workaround items in blockentity NBT not being processed correctly in 1.19.10
closes #5154

this hack sends only the bare essential data to create the tiles in LevelChunkPacket,
and then separately sending the full tile data using BlockActorDataPacket afterwards.

This is necessary because the client doesn't handle items correctly in NBT when chunks are sent without using the SubChunkRequest system.
In 4.6 this is observed with incorrect items shown in item frames; in 5.0 it's seen with items simply not showing up at all (difference due to modernization of the serialization format in 5.0).
2022-07-14 21:54:01 +01:00
Dylan K. Taylor
c7133bc2e6
InGamePacketHandler: don't kick the player out of inventory windows on actor events
this is sent when the player crafts something using an anvil.
2022-07-14 20:36:11 +01:00
Dylan K. Taylor
baf75089f5
Entity: cancel fire damage for fireproof entities 2022-07-14 19:53:25 +01:00
Ali
705df7d508
EffectManager: remove redundant check (#5153) 2022-07-14 17:56:18 +01:00
Dylan K. Taylor
75d7adfb2d
WitherEffect: fixed incorrect damage interval 2022-07-14 16:05:35 +01:00
Dylan K. Taylor
9d535e2917
4.6.1 is next 2022-07-13 01:28:42 +01:00
Dylan K. Taylor
3ccd288afd
Release 4.6.0 4.6.0 2022-07-13 01:28:37 +01:00
Dylan K. Taylor
06655bee78
Updated to 1.19.10 2022-07-13 00:59:49 +01:00
Dylan K. Taylor
0ad2985247
Update documentation for Item::__construct() 2022-07-06 23:54:29 +01:00
Dylan K. Taylor
269b6ed16a
FallableTrait: fixed logic for block replacement
closes #5126

I don't know why it wasn't done this way to begin with. FallingBlock always used canBeReplaced()...
2022-07-06 16:16:49 +01:00
Dylan K. Taylor
f031c3c602
Updated NBT dependency 2022-07-06 15:19:19 +01:00
dependabot[bot]
f3e09dd7d5
Bump shivammathur/setup-php from 2.19.1 to 2.20.0 (#5135)
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.19.1 to 2.20.0.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/2.19.1...2.20.0)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  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>
2022-07-06 13:28:46 +01:00
dependabot[bot]
68e704bf97
Bump shivammathur/setup-php from 2.19.0 to 2.19.1 (#5098)
Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.19.0 to 2.19.1.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/2.19.0...2.19.1)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  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-07-04 15:15:17 +01:00
dependabot[bot]
9898577135
Bump phpstan/phpstan from 1.7.15 to 1.8.0 (#5120)
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan) from 1.7.15 to 1.8.0.
- [Release notes](https://github.com/phpstan/phpstan/releases)
- [Changelog](https://github.com/phpstan/phpstan/blob/1.8.x/CHANGELOG.md)
- [Commits](https://github.com/phpstan/phpstan/compare/1.7.15...1.8.0)

---
updated-dependencies:
- dependency-name: phpstan/phpstan
  dependency-type: direct:development
  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>
2022-06-30 16:09:03 +01:00
Dylan K. Taylor
784d602600
Fixed ItemBreakParticle using untranslated internal ID/meta for network data
this caused it to display particles for incorrect items. It may also have been possibly responsible for client crashes.
2022-06-29 14:01:39 +01:00
Dylan K. Taylor
15c99cfe77
4.5.3 is next 2022-06-29 02:18:50 +01:00
Dylan K. Taylor
d5fa0a2fc5
Release 4.5.2 4.5.2 2022-06-29 02:18:50 +01:00
Dylan K. Taylor
0da9260994
Updated composer dependencies 2022-06-29 02:13:32 +01:00
Dylan K. Taylor
df2d1fd4f9
of course there were two bugs on one line ... 2022-06-24 01:40:26 +01:00
Dylan K. Taylor
9f65fb5f90
Fixed top-side skulls with no-drop flag set being treated as unknown blocks 2022-06-24 01:31:11 +01:00
Dylan K. Taylor
caa4b78a3f
Update composer dependencies 2022-06-21 20:21:02 +01:00
Dylan T
14352a05bc
reword support bot message 2022-06-11 15:54:44 +01:00
Dylan K. Taylor
bb5b52d998
Player: fix terrain getting redrawn when moving in noclip mode 2022-06-09 13:48:29 +01:00
Dylan T
5e22b70b6d
this is a joke ... 2022-06-08 14:56:25 +01:00
Dylan K. Taylor
02513818a9
4.5.2 is next 2022-06-08 02:50:34 +01:00
Dylan K. Taylor
d641812c52
Release 4.5.1 4.5.1 2022-06-08 02:50:33 +01:00
Dylan K. Taylor
a851496293
Updated BedrockProtocol 2022-06-08 02:46:01 +01:00
Dylan K. Taylor
01a8bce2dd
Fix whitespace error in support.yml workflow 2022-06-07 19:54:51 +01:00
Dylan K. Taylor
becbd562d6
FormattedCommandAlias: fixed incorrect arguments array being passed to the target 2022-06-07 19:47:45 +01:00
Dylan K. Taylor
82edb20e0c
4.5.1 is next 2022-06-07 17:57:39 +01:00
Dylan K. Taylor
64a8c462f9
Release 4.5.0 4.5.0 2022-06-07 17:57:39 +01:00
Dylan K. Taylor
4ec97d0f7a
InGamePacketHandler: added missing break
I'm getting sloppy ...
2022-06-07 17:52:59 +01:00
Dylan K. Taylor
016a80bb70
1.19.0 changes 2022-06-07 17:47:13 +01:00
Dylan K. Taylor
ce66a400a7
Updated composer dependencies 2022-06-07 17:44:06 +01:00
Dylan K. Taylor
50776875bb
4.4.3 is next 2022-06-07 15:54:55 +01:00
Dylan K. Taylor
bcb0e2ff1f
Release 4.4.2 4.4.2 2022-06-07 15:54:55 +01:00
Dylan K. Taylor
1584768c80
PaintingMotive: fixed botched painting fix from 0ea3861d434b017055dfaac5c11e4c90f3779fac
I knew I should have used a singleton for this ...
2022-06-07 15:48:20 +01:00
Dylan K. Taylor
5fd685e07d
TypeConverter: fix crash on arbitrary out-of-bounds item IDs
I don't know why I didn't consider this fix necessary when the item meta bug was originally discovered.
2022-06-06 19:29:44 +01:00
Dylan K. Taylor
6ecfbd1bde
FishingRod: make class less useless 2022-06-05 20:20:16 +01:00
Dylan K. Taylor
b661097c51
changelog: fix mistake
[ci skip]
2022-06-05 17:59:36 +01:00
Dylan K. Taylor
0771295899
4.4.2 is next 2022-06-05 16:15:38 +01:00
Dylan K. Taylor
702816458c
Release 4.4.1 4.4.1 2022-06-05 16:15:34 +01:00
Dylan K. Taylor
e040c2b281
InventoryManager: fixed windows not opening when the server removes windows
closes #5094
2022-06-05 16:03:24 +01:00
NoClip
e12e4e8fb8
StatusCommand: fixed output of global memory limit (#5090)
Fix incorrect "Maximum memory (manager)" output
2022-06-04 17:41:55 +01:00
Dylan K. Taylor
d15a90899e
build fix 2022-06-04 17:38:45 +01:00