Dylan K. Taylor
1bb6ac4fb6
Release 3.25.5
3.25.5
2021-11-26 23:20:40 +00:00
Dylan K. Taylor
52a891ba73
shut
2021-11-26 22:32:25 +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
7e0f6c02a1
Updated build/php submodule to pmmp/php-build-scripts@a59722c676
2021-11-26 21:59:39 +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
adff561483
phpstan: go nuclear on OPcache
...
when using dynamic reflection (which is the default), any time static reflection comes into play, bad shit starts to happen because of FileReadTrapStreamWrapper.
I attempted to fix these issues (phpstan/phpstan-src#801 ) and failed miserably.
So, to save the hassle, it's time to just remove OPcache from the picture (which, unfortunately, also means that PHPStan will not benefit from JIT).
2021-11-24 23:40:54 +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
3683884b9c
Updated build/php submodule to pmmp/php-build-scripts@7a2ab5b922
2021-11-20 18:27:43 +00:00
Dylan K. Taylor
db135788b9
Updated transient dependencies
2021-11-20 18:19:27 +00:00
dependabot[bot]
7210db25b0
Bump phpstan/phpstan from 1.1.2 to 1.2.0 ( #4583 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Changelog](https://github.com/phpstan/phpstan/blob/master/CHANGELOG.md )
- [Commits](https://github.com/phpstan/phpstan/compare/1.1.2...1.2.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>
2021-11-19 14:42:01 +00:00
Dylan T
ada469bc45
README: do not show beta releases on badge
...
[ci skip]
2021-11-12 01:35:39 +00:00
dependabot[bot]
dc8243f88b
Bump phpstan/phpstan from 1.1.1 to 1.1.2 ( #4564 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Commits](https://github.com/phpstan/phpstan/compare/1.1.1...1.1.2 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
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>
2021-11-12 00:24:23 +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
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
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
dependabot[bot]
76dad46e13
Bump phpstan/phpstan from 1.0.2 to 1.1.1 ( #4560 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.0.2 to 1.1.1.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Commits](https://github.com/phpstan/phpstan/compare/1.0.2...1.1.1 )
---
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>
2021-11-08 13:36:06 +00:00
Dylan K. Taylor
eb3530b6e6
Use pmmp/setup-php-action to compile PHP
2021-11-07 23:13:56 +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
729f831b8f
PHPStan 1.0.2
2021-11-03 20:26:32 +00:00
dependabot[bot]
29e2d92098
Bump phpstan/phpstan from 1.0.0 to 1.0.1 ( #4541 )
...
Bumps [phpstan/phpstan](https://github.com/phpstan/phpstan ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/phpstan/phpstan/releases )
- [Commits](https://github.com/phpstan/phpstan/compare/1.0.0...1.0.1 )
---
updated-dependencies:
- dependency-name: phpstan/phpstan
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>
2021-11-03 11:27:42 +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
3.25.2
2021-11-02 17:21:44 +00:00
Dylan K. Taylor
5257755dc5
shut
2021-11-01 21:15:58 +00:00
Dylan K. Taylor
3214da8642
pthreads 4.0.0
2021-11-01 21:01:59 +00:00
Dylan K. Taylor
794142fe49
Merge l7/l8/l9 baselines into actual-problems
...
it doesn't serve any practical purpose to keep these separated, particularly since it's getting so difficult to figure out which errors are coming from which levels (since we always use 9, it doesn't really make any difference).
2021-11-01 17:27:31 +00:00
Dylan K. Taylor
ff27c5f7db
PHPStan 1.0.0
2021-11-01 17:24:20 +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
Dylan K. Taylor
f8f39687e2
Achievement: declare proper type for $list static property
2021-11-01 15:22:33 +00:00
Dylan K. Taylor
94737934de
PlayerDeathEvent: fixed LSP violation reported by PHPStan 1.0
2021-11-01 14:17:54 +00:00
Dylan K. Taylor
debb469de1
Updated PHPUnit dependency junk
2021-11-01 13:54:04 +00:00
Dylan K. Taylor
73dc0598e4
CrashDump: remove derp space
2021-10-30 23:22:37 +01:00
Dylan K. Taylor
141fbde660
Player: fixed getting re-banned on rejoin after unban from hardcore death
...
closes #2175
2021-10-30 16:58:03 +01:00
Dylan K. Taylor
69952ae2af
Human: limit lifetime total XP range to INT32_MAX
...
closes #4484
2021-10-30 16:05:10 +01:00
Dylan K. Taylor
71f2a34616
Entity: spawnTo() must silently swallow errors
...
Player->showPlayer() assumes that spawnTo() will take care of all the checks necessary to ensure we don't actually spawn a player to someone it shouldn't be able to see. In PM3, there's nothing we can do about that.
This could be a problem if anything decides to override spawnTo() to do additional stuff and assumes that the function will always succeed; however, there's not much reason to do that (plugins sending packets should override sendSpawnPacket() instead).
2021-10-30 15:38:27 +01:00