10838 Commits

Author SHA1 Message Date
Dylan K. Taylor
b7665fd906 remove unused imports 2019-10-20 21:26:22 +01:00
Dylan K. Taylor
6d24760174 Merge branch 'stable' 2019-10-20 21:25:39 +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
d456cb2419
Filesystem: added some documentation for createLockFile() and releaseLockFile()
[ci skip]
2019-10-07 10:03:29 +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
Frago9876543210
37763685aa LiquidBucket: add getLiquid() (#3123) 2019-10-04 09:34:14 +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
Dylan T
b1de973d96
changelog: world save performance is improved
[ci skip]
2019-10-03 10:51:33 +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 K. Taylor
464b2116a6 Merge remote-tracking branch 'origin/stable' 2019-10-01 14:41:54 +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
735efeaa13 Merge branch 'stable' 2019-09-26 11:30:36 +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 K. Taylor
262dbc0346 ParticleCommand: fixup for 6e9d2e1c8af7d9debc6ed14f98e4f54d29753625 2019-09-23 11:54:17 +01:00
Frago9876543210
6e9d2e1c8a InstantEnchantParticle: add Color into constructor (#3118) 2019-09-23 11:43:06 +01:00
Dylan K. Taylor
15694279c7 Merge branch 'stable' 2019-09-18 13:30:58 +01:00
Frago9876543210
ec0558597b CommandParameter: change byte1 field to "flags" (#3115) 2019-09-18 11:10:42 +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
1866de269b OfflinePlayer: fix reading wrong NBT type in getFirstPlayed(), close #3112
This bug was introduced by 65927e69651652917c928990fb8643cfa33f0096.
2019-09-04 07:59:28 +01:00
Dylan K. Taylor
f755ea6043 DestroyBlockParticle: keep block reference around instead of runtimeID
we'll need this for protocol abstraction
2019-08-27 19:25:55 +01:00
Dylan K. Taylor
1de5d35dfc add a CLI tool for conversion 2019-08-26 19:03:48 +01:00
Dylan K. Taylor
f720a58013 RegionWorldProvider: don't assume that path has a trailing directory separator 2019-08-25 19:50:51 +01:00
Dylan K. Taylor
a53f698d38 PocketMine.php: remove useless set_time_limit() call
this is hardcoded to zero in the PHP core anyway.
2019-08-25 19:41:53 +01:00
Dylan K. Taylor
c4376d13ae update to latest SPL 2019-08-25 19:32:20 +01:00
Dylan K. Taylor
6e692d76d5 make lock-file code more reusable 2019-08-25 18:50:33 +01:00
Dylan K. Taylor
5c1f1f00cb move assert.exception to PocketMine.php with the other stuff 2019-08-25 18:18:14 +01:00
Dylan K. Taylor
2bcb720668 Server: get rid of \pocketmine\DEBUG 2019-08-25 18:11:10 +01:00