8987 Commits

Author SHA1 Message Date
Dylan K. Taylor
75a72786f9
Release 3.26.4 2021-12-16 01:23:21 +00:00
Dylan K. Taylor
7fb1669c6d
php-cs-fixer: added binary_operator_spaces and unary_operator_spaces rules 2021-12-14 23:14:39 +00:00
Dylan K. Taylor
f5bbd30dbb
Fixed skins appearing black when using RTX resource packs, closes #4537 2021-12-13 12:35:55 +00:00
Dylan K. Taylor
69d5bfa0d4
3.26.4 is next 2021-12-10 17:55:11 +00:00
Dylan K. Taylor
549fb923bf
Release 3.26.3 2021-12-10 17:55:07 +00:00
Dylan K. Taylor
6d5c463bdd
PlayerExperienceChangeEvent: added range checks to setNewProgress()
WE FINALLY FUCKING FOUND IT

This took several years to identify because PHP's exception stack traces don't show the actual values of parameters, but rather the values of the variables they were assigned to.

This means that if the parameter variable is mutated, the exception trace will show the value of the variable inside the function, not the value that was actually passed.
2021-12-10 17:29:57 +00:00
Dylan K. Taylor
911ad344c9
Human: do not mutate parameter variables in setXpAndProgress()
this caused a mystery that took 3 entire years to debug.
2021-12-10 17:27:28 +00:00
Dylan K. Taylor
06eaf9f273
3.26.3 is next 2021-12-09 00:27:03 +00:00
Dylan K. Taylor
1e56ed2ea3
Release 3.26.2 2021-12-09 00:26:59 +00:00
Dylan K. Taylor
b081394125
Do not restrict the allowed update channels client-side
we really should have an endpoint on the server that deals with this.
2021-12-08 21:57:16 +00:00
Dylan K. Taylor
f48cf68cac
updater: log a message when an update was found, but it's an older version 2021-12-08 21:55:44 +00:00
Dylan K. Taylor
264cff70ec
Release new PM3 builds onto pm3 channel 2021-12-08 21:55:12 +00:00
Dylan K. Taylor
3aabfa4ab0
bootstrap: display value of PHPRC when PHP binary is borked
PHPRC overrides the search path for php.ini, which might break the php.ini locating.
2021-12-08 20:48:44 +00:00
Dylan K. Taylor
20d6b69813
3.26.2 is next 2021-11-30 22:27:42 +00:00
Dylan K. Taylor
6b7d0307af
Release 3.26.1 2021-11-30 22:27:42 +00:00
Dylan K. Taylor
baeac2eb07
Fixed tiles not being sent with chunks 2021-11-30 22:19:28 +00:00
Dylan K. Taylor
d5f81fe261
3.26.1 is next 2021-11-30 18:53:36 +00:00
Dylan K. Taylor
0aeac3af7d
Release 3.26.0 2021-11-30 18:53:36 +00:00
Dylan K. Taylor
9931c1d50a
Protocol changes for 1.18.0 2021-11-30 18:46:29 +00:00
Dylan K. Taylor
c19174a174
3.25.7 is next 2021-11-26 23:37:47 +00:00
Dylan K. Taylor
f95142f6b6
Release 3.25.6 2021-11-26 23:37:46 +00:00
Dylan K. Taylor
32f619ac49
3.25.6 is next 2021-11-26 23:20:48 +00:00
Dylan K. Taylor
1bb6ac4fb6
Release 3.25.5 2021-11-26 23:20:40 +00:00
Dylan K. Taylor
71b813d4f9
Define pocketmine\BUILD_NUMBER from phar metadata
this way we don't have to patch the code (no idea why we were doing that anyway).
2021-11-26 22:27:58 +00:00
Dylan K. Taylor
f2540a72ad
Backport improved make-release.php from PM4 2021-11-26 22:10:46 +00:00
Dylan K. Taylor
c023c02b6c
MemoryManager: Removed obsolete workaround for $GLOBALS not being defined on threads
this was long since fixed, and everyone has since been forced to upgrade to pthreads 4.0.0, which definitely has the fix.
2021-11-24 23:57:55 +00:00
Dylan K. Taylor
472ffb28ff
ScriptPluginLoader: use parseDocComment() instead of reinventing the wheel 2021-11-24 17:22:49 +00:00
Dylan K. Taylor
726c5652f7
ScriptPluginLoader: fixed reading @tags from non-docblock lines preceding the first docblock 2021-11-24 17:07:34 +00:00
Dylan K. Taylor
fc7d297f60
Added missing fields of StructureSettings 2021-11-21 20:51:35 +00:00
Dylan K. Taylor
7b4ef293bd
NetworkBinaryStream: fixed incorrect field types for StructureSettings 2021-11-21 20:49:00 +00:00
Dylan K. Taylor
1beec348f9
3.25.5 is next 2021-11-08 22:33:09 +00:00
Dylan K. Taylor
7306a2d939
Release 3.25.4 2021-11-08 22:33:08 +00:00
Dylan K. Taylor
4bf338f783
Player: fixed removeWindow() causing all other inventories to be unopenable 2021-11-08 22:29:14 +00:00
Dylan K. Taylor
255ff63fda
3.25.4 is next 2021-11-08 20:35:15 +00:00
Dylan K. Taylor
d72f6a3ac6
Release 3.25.3 2021-11-08 20:35:14 +00:00
Dylan K. Taylor
3b34268ed6
Human: try to trap this stupid float cast bug in the wild 2021-11-08 19:48:39 +00:00
Dylan K. Taylor
b392651354
pocketmine.yml: always refer to worlds as worlds in config comments, not levels 2021-11-06 02:22:14 +00:00
Dylan K. Taylor
e0b07ff308
Human: do not add more XP if totalXp limit was already reached
this matches the vanilla behaviour. For some reason it doesn't consider levels (so you can have a level higher or lower than this without actually having that amount of XP), but this matches Java behaviour as of 1.10.

fixes #4543
2021-11-03 20:45:55 +00:00
Dylan K. Taylor
f75a05d7fa
3.25.3 is next 2021-11-02 17:21:49 +00:00
Dylan K. Taylor
3dae873731
Release 3.25.2 2021-11-02 17:21:44 +00:00
Dylan K. Taylor
3214da8642
pthreads 4.0.0 2021-11-01 21:01:59 +00:00
Dylan K. Taylor
4d4362801f
AvailableCommandsPacket: remove dead code 2021-11-01 17:01:26 +00:00
Dylan K. Taylor
0babe0a1ab
LevelDB: remove unused private method 2021-11-01 16:55:05 +00:00
Dylan K. Taylor
d696ebcda3
Level: do not use static:: to access levelIdCounter
the field is private.
2021-11-01 16:52:27 +00:00
Dylan K. Taylor
9f5c16bc46
Projectile: use closure instead of do/while for reading id/data of block
not ideal, but whatever I guess... this at least provides scope isolation
2021-11-01 15:56:28 +00:00
Dylan K. Taylor
8865bb73ba
BanEntry: remove useless do/while 2021-11-01 15:52:55 +00:00
Dylan K. Taylor
2dee1dbc28
Remove ridiculous code in ResourcePackManager 2021-11-01 15:41:21 +00:00
Dylan K. Taylor
0f0b6f0efa
Utils: eliminate usages of backtick operator 2021-11-01 15:25:56 +00:00
Dylan K. Taylor
d5f13d8be2
Timezone: make PHPStan 1.0 happy 2021-11-01 15:24:16 +00:00
Dylan K. Taylor
27ae959e89
Terminal: backport shell_exec() code from PM4 to make PHPStan 1.0 happy 2021-11-01 15:23:36 +00:00