15341 Commits

Author SHA1 Message Date
dependabot[bot]
29909e7f44
Bump phpunit/phpunit from 9.5.14 to 9.5.15 (#4859)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.14 to 9.5.15.
- [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.14...9.5.15)

---
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-02-23 13:13:51 +00:00
Dylan K. Taylor
a95749f968
Now using new repository for block upgrade schemas 2022-02-22 22:09:47 +00:00
Dylan K. Taylor
3232a83965
InventoryManager: beware possible crash due to invalid items 2022-02-22 16:50:36 +00:00
Dylan K. Taylor
c816bbdb6e
Remove unused import that php-cs-fixer doesn't see 2022-02-22 16:46:23 +00:00
Dylan K. Taylor
4f25ab10e9
InventoryManager: Do not sync slots the client correctly predicted during using items
closes #4825
2022-02-22 16:46:23 +00:00
dependabot[bot]
f04099c5de
Bump phpunit/phpunit from 9.5.13 to 9.5.14 (#4854)
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.5.13 to 9.5.14.
- [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.13...9.5.14)

---
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-02-21 15:46:51 +00:00
dependabot[bot]
fdb82f5fb8
Bump build/php from 30eed13 to d110b60 (#4852)
Bumps [build/php](https://github.com/pmmp/php-build-scripts) from `30eed13` to `d110b60`.
- [Release notes](https://github.com/pmmp/php-build-scripts/releases)
- [Commits](30eed13faa...d110b60bef)

---
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>
2022-02-21 04:14:08 +00:00
Dylan K. Taylor
75d4c47384
LevelDB: fixed incorrectly writing always newest protocol version in world saves
this made it impossible to tell the difference between PM worlds and bedrock worlds modified post-1.12.
2022-02-20 21:08:31 +00:00
Dylan K. Taylor
bd4c2b5245
MemoryManager: scrub string keys for dumping
fixes crashes such as https://crash.pmmp.io/view/5986490
this also ensures that the order of elements is maintained when decoded by another software.
2022-02-20 20:54:03 +00:00
Dylan K. Taylor
d60dba2de0
DumpMemoryCommand: fixed memory dump dir 2022-02-20 20:39:53 +00:00
Dylan K. Taylor
51a3043dfd
PlayerInventory: fixed isHotbarSlot() returning bogus result for 9 2022-02-20 20:29:51 +00:00
Dylan K. Taylor
5415ca2fa9
Merge branch 'next-minor' into modern-world-support 2022-02-19 20:36:20 +00:00
Dylan K. Taylor
7098bcec8c
4.2.2 is next 2022-02-19 20:20:58 +00:00
Dylan K. Taylor
6d65512531
Release 4.2.1 4.2.1 2022-02-19 20:20:58 +00:00
Dylan K. Taylor
3ed336fa0e
Merge branch 'stable' into next-minor 2022-02-19 20:16:49 +00:00
Dylan K. Taylor
b26b1cd32f
Fixed swimming hitbox glitch
fixes #4815
relates to Sandertv/gophertunnel#88
2022-02-19 20:14:17 +00:00
Dylan K. Taylor
54db842d16
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable 2022-02-19 19:26:39 +00:00
Dylan K. Taylor
31a0085efb
Update setup-php-action to pmmp/setup-php-action@aa636a4fe0 2022-02-19 19:26:30 +00:00
Dylan K. Taylor
715355e148
Update GitHub Actions to PHP 8.0.16. 2022-02-19 19:20:08 +00:00
Muqsit Rayyan
55dfacea8d
Item: Improve performance of nbtSerialize() (#4831)
Replace hasNamedTag() with $nbt->count() > 0
This avoids a duplicate indirect call to Item::serializeCompoundTag() method call when serializing items with namedtags.
2022-02-16 00:32:12 +00:00
Dylan K. Taylor
e98cf39b47
cs 2022-02-11 21:18:56 +00:00
Dylan K. Taylor
dda2f42e59
updated BedrockData 2022-02-11 21:13:59 +00:00
Dylan K. Taylor
bc46e148df
Updated to support new tag storage format 2022-02-11 21:13:28 +00:00
mmm545
55c744cc00
Added missing changes to the 4.0 changelog (#4820) 2022-02-11 17:39:45 +00:00
Dylan K. Taylor
169a3217de
fix build 2022-02-10 20:56:53 +00:00
Dylan K. Taylor
905eee3198
BlockStateUpgrader: do not apply backwards-incompatible schemas to blockstates already on the correct version
this notably led to corruption of glow_lichen and sculk_vein in 1.18.10.
2022-02-10 20:51:31 +00:00
Dylan K. Taylor
8a11ed70e3
improve reusability 2022-02-10 19:38:50 +00:00
Dylan K. Taylor
db9d769db6
fix CS #2 2022-02-10 13:49:40 +00:00
Dylan K. Taylor
45150f1a52
fix CS 2022-02-10 13:47:20 +00:00
Dylan K. Taylor
0f07b2499c
Added blockstate upgrade schema generator 2022-02-10 13:45:39 +00:00
Dylan K. Taylor
0a0383d9bd
BlockStateUpgradeSchema: added isEmpty() 2022-02-10 13:03:29 +00:00
Dylan K. Taylor
7e903fde5b
Fixed multiple players being able to sleep in the same bed 2022-02-10 00:57:43 +00:00
Dylan K. Taylor
1b3e50d0a3
Implement support for remappedPropertyValuesIndex schema format 2022-02-10 00:00:01 +00:00
Dylan K. Taylor
dc5ddf1c1b
make the build pass 2022-02-09 20:18:38 +00:00
Dylan K. Taylor
03cf635adc
Removed pointless array cast 2022-02-09 20:17:28 +00:00
Dylan K. Taylor
77ba8b81f8
Updated BedrockData 2022-02-09 20:16:54 +00:00
Dylan K. Taylor
0ce3f763db
reEEEEEEEEEEEEEEEEE 2022-02-09 20:13:59 +00:00
Dylan K. Taylor
0226f5466c
Added support for upgrading states via remap (needed for end rods and all-sided-logs) 2022-02-09 20:05:20 +00:00
Dylan K. Taylor
166ffe430a
Updated for 1.18.10 2022-02-08 22:56:04 +00:00
Dylan K. Taylor
1905f87942
Merge branch 'next-minor' into modern-world-support 2022-02-08 22:25:46 +00:00
Dylan K. Taylor
d702113fb5
Merge branch 'stable' into next-minor 2022-02-08 22:23:00 +00:00
Dylan K. Taylor
4f44a067b0
4.2.1 is next 2022-02-08 20:14:19 +00:00
Dylan K. Taylor
44818e6d14
Release 4.2.0 4.2.0 2022-02-08 20:14:19 +00:00
Dylan K. Taylor
325131dd30
Protocol changes for 1.18.10 2022-02-08 20:08:15 +00:00
Dylan K. Taylor
38eeda6e8b
Merge branch 'stable' into next-minor 2022-02-07 19:32:07 +00:00
Dylan K. Taylor
1eb59fb9b5
4.1.1 is next 2022-02-07 19:22:54 +00:00
Dylan K. Taylor
1c60aa9769
Release 4.1.0 4.1.0 2022-02-07 19:22:53 +00:00
Dylan K. Taylor
c2d3b23449
fixed BlockFactory consistency test - remapped states are no longer returned by getAllKnownStates() 2022-02-07 18:04:02 +00:00
Dylan K. Taylor
fe2c3d08a0
Reduce memory footprint of state remapping tables
this becomes a significant problem when expanding metadata size.
2022-02-07 17:31:41 +00:00
Dylan K. Taylor
7a0f62ce5a
Merge branch 'next-minor' into modern-world-support 2022-02-07 17:23:19 +00:00