12533 Commits

Author SHA1 Message Date
Dylan K. Taylor
df1cdbe921
Release 4.0.9 2022-02-05 16:08:10 +00:00
Dylan K. Taylor
7846ea8acc
LevelDB: do not barf on chunk version 8
this covers a wide range from 1.2.13 to 1.8.
2022-02-05 04:18:37 +00:00
Dylan K. Taylor
1dc0d5f96a
WorldManager: do not calculate safe spawn if there are no players in the unloaded world 2022-02-04 19:24:51 +00:00
Dylan K. Taylor
712ffb3e31
WorldManager: fixed loading the default world's spawn chunk when unloading the default world
yo dawg
I heard you like loading and unloading
so I put some loading inside your unloading
so you can load while you unload
2022-02-04 19:22:37 +00:00
Andrew1481432
2a4111868c
Fixed incorrect doc for EncryptionContext (#4791)
* Fixed incorrect doc for EncryptionContext

* Update src/network/mcpe/encryption/EncryptionContext.php

Co-authored-by: Dylan T <odigiman@gmail.com>
2022-02-02 13:12:33 +00:00
Dylan K. Taylor
859f062267
StringToItemParser: fixed *_concrete_powder giving concrete instead of concrete powder 2022-02-01 23:29:47 +00:00
Dylan K. Taylor
cfdbfa3d58
Liquid: fixed implicit assumption of 0 == air 2022-01-28 21:07:41 +00:00
Dylan K. Taylor
e9a6c0ba58
Liquid: added missing bounds check for setDecay() 2022-01-28 21:03:44 +00:00
Dylan K. Taylor
7a75fcda44
Merge branch 'bell-4745' into stable 2022-01-28 20:21:28 +00:00
NTT1906
8d289ab01d
Bell: fixed collision boxes
closes #4745
2022-01-28 20:20:41 +00:00
Covered123
6673289c33
Fixed spectator players being able to drop items (#4775)
closes #4765
2022-01-27 00:03:19 +00:00
Rush2929
3155c90396
Fixed incorrect drops for Cobweb (#4759) 2022-01-26 00:25:00 +00:00
Dylan K. Taylor
3ab5b5a79d
4.0.9 is next 2022-01-25 23:33:24 +00:00
Dylan K. Taylor
8a4bc72b34
Release 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
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
f9c8c0e34d
4.0.8 is next 2022-01-21 19:39:31 +00:00
Dylan K. Taylor
58ba4f680f
Release 4.0.7 2022-01-21 19:39:30 +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
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
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
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 2022-01-13 21:46:30 +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
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
6d249026cc
Merge branch 'legacy/pm3' into stable 2022-01-07 20:15:15 +00:00
Dylan K. Taylor
ed2145b6a4
php-cs-fixer: enforce EOF newlines 2022-01-07 20:12:21 +00:00
Dylan K. Taylor
35f205b476
4.0.6 is next 2022-01-04 20:51:37 +00:00
Dylan K. Taylor
e7d17eb4d3
Release 4.0.5 2022-01-04 20:51:36 +00:00
Dylan K. Taylor
e8893dd91f
3.26.6 is next 2022-01-04 20:47:31 +00:00
Dylan K. Taylor
a4af1609ea
Release 3.26.5 2022-01-04 20:47:31 +00:00
Dylan K. Taylor
8c4b8a9042
CS 2022-01-04 20:44:10 +00:00
Dylan T
6492cac5c1
Merge pull request from GHSA-c6fg-99pr-25m9 2022-01-04 20:40:55 +00:00
Dylan T
958a9dbf0f
Merge pull request from GHSA-c6fg-99pr-25m9
* Skin: impose length limits on skinID, geometryName and geometryData fields

* Skin: remove extra newline
2022-01-04 20:40:55 +00:00
Dylan T
3ed57ce49a
Merge pull request from GHSA-p62j-hrxm-xcxf
This checks the following things:
- Validity of UTF-8 encoding of title, author, and page content
- Maximum soft and hard lengths of title, author, and page content (soft
  limits may be bypassed by uncancelling PlayerEditBookEvent; hard
  limits may not be bypassed)
- Maximum number of pages. Books with more than 50 pages may still be
  edited, but may not have new pages added.
2022-01-04 20:39:02 +00:00
Dylan T
68f3399cfd
Merge pull request from GHSA-p62j-hrxm-xcxf
This checks the following things:
- Validity of UTF-8 encoding of title, author, and page content
- Maximum soft and hard lengths of title, author, and page content (soft
  limits may be bypassed by uncancelling PlayerEditBookEvent; hard
  limits may not be bypassed)
- Maximum number of pages. Books with more than 50 pages may still be
  edited, but may not have new pages added.
2022-01-04 20:39:02 +00:00
Covered123
aeab19a616
Fixed world spawn point not updating to players (#4699)
closes #4383
2022-01-04 20:31:27 +00:00
Dylan K. Taylor
0d595e4324
Update Language dependency 2022-01-04 00:47:04 +00:00
Dylan K. Taylor
e43e0189df
InGamePacketHandler: do not pass bare integers from BookEditPacket directly into event
while these currently happen to be identical, they may not be in the future.

Really this should be represented by an enum.
2022-01-03 20:20:32 +00:00
Dylan K. Taylor
decd1da2d0
BaseSign: remove dead TODO comment 2022-01-03 19:33:03 +00:00
Covered123
bcc0f1e733
Fixed desynchronization of hunger when cancelling food-related events (#4691) 2022-01-03 19:11:32 +00:00
Dylan K. Taylor
f62cfe8ae3
4.0.5 is next 2022-01-01 16:50:03 +00:00
Dylan K. Taylor
b903e90dc2
Release 4.0.4 2022-01-01 16:50:02 +00:00