Dylan K. Taylor
77d8f133f1
LevelChunkPacket: fixed broken type assert in withCache()
2019-10-22 11:54:37 +01:00
Dylan K. Taylor
43ebb23085
Permission: remove dead code from loadPermission()
2019-10-22 10:42:22 +01:00
Dylan K. Taylor
e198c8fa8b
Task: mark taskHandler field as nullable
2019-10-22 10:26:49 +01:00
Dylan K. Taylor
cc3285c8fe
Chest: fixed type doc of doubleChestInventory field
2019-10-22 10:25:24 +01:00
Dylan K. Taylor
305c63ba4d
MainLogger: initialize shutdown field in the conventional manner
...
this avoids uninitialized uses
2019-10-22 10:21:17 +01:00
Dylan K. Taylor
acaa0e33b0
update DevTools submodule to pmmp/PocketMine-DevTools@3fadb2c3f4
2019-10-22 10:16:44 +01:00
Dylan K. Taylor
f63857deed
update build/php submodule to pmmp/php-build-scripts@1b3fe3120c
2019-10-22 10:15:29 +01:00
Dylan K. Taylor
eda3d9b5e4
sync composer dependencies
2019-10-22 10:13:47 +01:00
Dylan K. Taylor
c3872619cd
Block: mark boundingBox as nullable
2019-10-22 10:07:27 +01:00
Dylan K. Taylor
39cc590829
Skin: accommodate JSON geometry containing comments, closes #3121
2019-10-21 22:26:48 +01:00
Dylan K. Taylor
f347345bb3
Human::getInventory(): explicitly declare return type
...
the lack of this causes type inference bugs and documentation problems.
thanks PHPStan
2019-10-21 15:25:57 +01:00
Dylan K. Taylor
bb05cfb36c
Shears: fixed always-false hardness check
...
thanks PHPStan
2019-10-21 15:21:22 +01:00
Dylan K. Taylor
7d5c3c9b46
backport 4364d2a94: AvailableCommandsPacket: Clean up internals
...
this is still disgusting, but it's a little more bearable now.
2019-10-21 14:51:36 +01:00
Frago9876543210
cff2d37add
backport ec0558597b6ca948228846b25751c2b1863cbf3f: CommandParameter: change byte1 field to "flags" ( #3115 )
2019-10-21 10:03:59 +01:00
Dylan K. Taylor
447477c5fb
RegionLoader: Write location table changes when deleting chunks
2019-10-20 20:54:46 +01:00
Dylan K. Taylor
abdbb2bf0e
backport 3f6660027: RegionLoader: Extract location table validation to separate function
2019-10-20 20:53:47 +01:00
Dylan K. Taylor
783c13926f
backport f2404804d: RegionLoader: clean up lastSector handling
2019-10-20 20:48:29 +01:00
Dylan K. Taylor
45329ddf67
backport 07a9c35ee: RegionLoader: Use objects instead of arrays
2019-10-20 20:42:55 +01:00
Dylan K. Taylor
20af789963
backport 3e58708130d9a77c261b3a1355fa2e0163a5c7c6: Add some missing @throws annotations
2019-10-20 20:23:51 +01:00
Dylan K. Taylor
93cb9390e0
RegionLoader: backport 62185d476bc2463be6de20604cd4ef83733dcce2
2019-10-20 19:59:02 +01:00
Stephen
0aed7f86f5
Updated BossEventPacket comments ( #3155 )
...
* Updated BossBar comments
* Fixed comments
2019-10-20 19:23:07 +01:00
Dylan K. Taylor
bf44bd016d
TransferServerCommand: add missing boilerplate permission check
2019-10-20 14:28:53 +01:00
Dylan K. Taylor
04e4a36653
LevelDB: remove unnecessary \pocketmine\NAME dependency
...
this is non-obvious and makes it a pain the ass to use outside of PM.
2019-10-17 18:56:51 +01:00
Dylan K. Taylor
7439e1971d
Server: stop spamming crashdumps on unsupported / corrupted worlds
...
really we should look into making the server stop if any world fails to load, but flooding the place with crashdumps isn't the way to do it.
This is a simplified version of cf73c7f5c1f0e9c549864fe0434238aa66d49649
2019-10-17 11:27:00 +01:00
Dylan K. Taylor
b961b4e003
SetupWizard: use constant for default gamemode
2019-10-16 11:48:25 +01:00
Dylan K. Taylor
d9eac8fc0a
Server: fixed default difficulty being EASY instead of NORMAL
2019-10-16 11:45:30 +01:00
Ivan
aeeee5eb53
Added encode/decode for StructureTemplateDataExport(Request|Response)Packet ( #3145 )
2019-10-14 11:14:42 +01:00
Dylan K. Taylor
13994055d9
SetupWizard: disable spawn protection by default
...
we can't change anything else wrt. this on a patch version, disabling it in the main core by default involves possible behavioural breaks
2019-10-09 11:26:58 +01:00
Dylan T
247875e3d5
Explosion: add documentation for explodeA() and explodeB()
...
these functions really ought to be renamed, or possibly redesigned entirely. However, that's no task for a patch version.
[ci skip]
2019-10-07 09:44:17 +01:00
Dylan T
ee60a7bc36
Item: add documentation for addCreativeItem(), removeCreativeItem() and clearCreativeItems()
...
[ci skip]
2019-10-07 09:37:59 +01:00
Dylan K. Taylor
348c2a599b
Internet: report PM version in user agent
...
this is useful for statistics
2019-10-04 10:59:32 +01:00
Dylan K. Taylor
562b47a1e5
Player: guard against repeated resource pack sequence
...
this can happen because of the client being super broken in 1.12
close #3036
2019-10-03 11:20:44 +01:00
Ivan
4e060bc13f
EventPacket: Added some new constants ( #3132 )
2019-10-02 13:37:05 +01:00
Dylan K. Taylor
2807f14fcd
3.9.6 is next
2019-10-01 15:02:34 +01:00
Dylan K. Taylor
f0539f4898
Release 3.9.5
3.9.5
2019-10-01 15:02:33 +01:00
Dylan T
63d7e7b811
Fixed decoding form responses with double commas inside quotes ( #3131 )
...
closes #3113
2019-10-01 14:28:55 +01:00
Dylan K. Taylor
4da06078ed
Server: promote Patreon on startup
2019-10-01 14:22:07 +01:00
Dylan K. Taylor
8a6381c3fa
StupidJsonDecodeTest: add some extra test vectors
2019-10-01 13:25:20 +01:00
Dylan K. Taylor
d0d61597c7
StupidJsonDecodeTest: use getClosure() instead of traditional mess
...
this is faster and requires less code.
2019-09-26 11:28:40 +01:00
Dylan T
7a2a4e2aa3
change some heading sizes [ci skip]
2019-09-25 12:59:04 +01:00
SOFe
e41a2c0792
Link to StackOverflow in README ( #3084 )
2019-09-23 11:56:37 +01:00
Dylan T
11a6e04a28
EnderPearl: remove collision box hack (this isn't needed for MCPE anyway)
...
This was intended to address the problem that ender pearls would not stop on grass, saplings, and other similar objects. However, they don't stop on such objects in MCPE anyway, only PC.
2019-09-18 10:02:52 +01:00
Dylan K. Taylor
70b1ac856d
ZippedResourcePack: fix mishandling of wrong root JSON type (crashdump #2840512 )
2019-09-17 11:01:33 +01:00
Dylan T
d724374d1a
StupidJsonDecodeTest: add failing test case for #3113
2019-09-16 15:53:00 +01:00
Dylan K. Taylor
a19143cae7
3.9.5 is next
2019-08-16 17:58:02 +01:00
Dylan K. Taylor
1be6783c34
Release 3.9.4
3.9.4
2019-08-16 17:58:01 +01:00
Dylan K. Taylor
092edc9d43
avoid breaking concrete powder
2019-08-16 17:41:50 +01:00
Dylan K. Taylor
2ba8eac27f
FallingBlock: fix endless falling on top of fences
...
this is a shitty fix, but I don't think there's a better way to do it on 3.x. This also fixes dropping on cactus.
close #2449 , close #2895
2019-08-16 17:27:41 +01:00
Dylan K. Taylor
25ff90b2c6
PluginManager: fix chained softdepend plugins load order
...
Test case:
- plugin2 depends on nonexistent plugin1
- plugin3 depends on plugin2
At random occasions, plugin3 would be loaded before plugin2, because plugin2 load would be deferred in the expectation of plugin1 being loaded. This would result in the assumption that plugin3's softdepend plugins would not be loaded, so they were ignored.
We fix this problem by removing missing plugins from softdepend if they were not present on a scan of the directory. This way, we don't ignore any unresolved deferred dependency resolutions.
2019-08-16 16:46:59 +01:00
Dylan K. Taylor
b912ae78bc
Merge branch 'stable' of https://github.com/pmmp/PocketMine-MP into stable
2019-08-14 18:21:24 +01:00