Commit Graph

10415 Commits

Author SHA1 Message Date
d456cb2419 Filesystem: added some documentation for createLockFile() and releaseLockFile()
[ci skip]
2019-10-07 10:03:29 +01:00
37763685aa LiquidBucket: add getLiquid() (#3123) 2019-10-04 09:34:14 +01:00
b1de973d96 changelog: world save performance is improved
[ci skip]
2019-10-03 10:51:33 +01:00
464b2116a6 Merge remote-tracking branch 'origin/stable' 2019-10-01 14:41:54 +01:00
63d7e7b811 Fixed decoding form responses with double commas inside quotes (#3131)
closes #3113
2019-10-01 14:28:55 +01:00
4da06078ed Server: promote Patreon on startup 2019-10-01 14:22:07 +01:00
8a6381c3fa StupidJsonDecodeTest: add some extra test vectors 2019-10-01 13:25:20 +01:00
735efeaa13 Merge branch 'stable' 2019-09-26 11:30:36 +01:00
d0d61597c7 StupidJsonDecodeTest: use getClosure() instead of traditional mess
this is faster and requires less code.
2019-09-26 11:28:40 +01:00
7a2a4e2aa3 change some heading sizes [ci skip] 2019-09-25 12:59:04 +01:00
e41a2c0792 Link to StackOverflow in README (#3084) 2019-09-23 11:56:37 +01:00
262dbc0346 ParticleCommand: fixup for 6e9d2e1c8a 2019-09-23 11:54:17 +01:00
6e9d2e1c8a InstantEnchantParticle: add Color into constructor (#3118) 2019-09-23 11:43:06 +01:00
15694279c7 Merge branch 'stable' 2019-09-18 13:30:58 +01:00
ec0558597b CommandParameter: change byte1 field to "flags" (#3115) 2019-09-18 11:10:42 +01:00
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
70b1ac856d ZippedResourcePack: fix mishandling of wrong root JSON type (crashdump #2840512) 2019-09-17 11:01:33 +01:00
d724374d1a StupidJsonDecodeTest: add failing test case for #3113 2019-09-16 15:53:00 +01:00
1866de269b OfflinePlayer: fix reading wrong NBT type in getFirstPlayed(), close #3112
This bug was introduced by 65927e6965.
2019-09-04 07:59:28 +01:00
f755ea6043 DestroyBlockParticle: keep block reference around instead of runtimeID
we'll need this for protocol abstraction
2019-08-27 19:25:55 +01:00
1de5d35dfc add a CLI tool for conversion 2019-08-26 19:03:48 +01:00
f720a58013 RegionWorldProvider: don't assume that path has a trailing directory separator 2019-08-25 19:50:51 +01:00
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
c4376d13ae update to latest SPL 2019-08-25 19:32:20 +01:00
6e692d76d5 make lock-file code more reusable 2019-08-25 18:50:33 +01:00
5c1f1f00cb move assert.exception to PocketMine.php with the other stuff 2019-08-25 18:18:14 +01:00
2bcb720668 Server: get rid of \pocketmine\DEBUG 2019-08-25 18:11:10 +01:00
d1a8bef1e6 fix test 2019-08-25 17:52:39 +01:00
8b40a8f217 PocketMine.php: move INI entry setting to a separate function 2019-08-25 17:50:45 +01:00
0c31b8731f PocketMine.php: use main logger to emit force-kill debug 2019-08-25 17:48:13 +01:00
9d1239ed67 PocketMine.php: get rid of redundant LOCK_FILE_PATH constant 2019-08-25 17:39:57 +01:00
3eea2442a7 move filesystem-related functions to pocketmine\utils\Filesystem 2019-08-25 17:36:50 +01:00
40da5059c9 PocketMine.php: remove \pocketmine\DATA dynamic constant 2019-08-25 16:55:24 +01:00
51ed564c5e SetupWizard: remove non-obvious dependencies on dynamic constants, require path in constructor 2019-08-25 16:46:01 +01:00
fdfbaf4e95 make startup performance warnings a little more coherent 2019-08-25 16:34:26 +01:00
ad0f100f8e remove \pocketmine\START_TIME, add Server->getStartTime() 2019-08-25 16:25:27 +01:00
647f86a5b8 PocketMine.php: remove redundant ini_set()
this is overridden later on by MemoryManager.
2019-08-25 16:14:35 +01:00
39d5903c3e Remove INT32_MIN and INT32_MAX global constants 2019-08-25 16:09:51 +01:00
95a4081d24 update composer dependencies 2019-08-25 16:04:51 +01:00
42ffc45c1c world providers: don't assume that getPath() has a trailing directory separator 2019-08-25 15:45:40 +01:00
aa006cca0e WorldProviderManager: added getAvailableProviders()
this will be used by standalone CLI conversion tool
2019-08-24 19:59:57 +01:00
6a4ae4cb94 remove position parameters from BlockFactory::get() and BlockFactory::fromFullBlock() 2019-08-24 17:19:27 +01:00
c9cd6ee038 ExperienceOrb: fix passing invalid argument to multi-signature Vector3::subtract()
I knew I should have scrapped these multi-signature functions years ago...
2019-08-24 15:58:06 +01:00
75a2d79671 convert more constant interfaces to final classes, close #2885 2019-08-24 15:39:23 +01:00
ef8eba43d7 RegisteredListener: validate priority at a more sensible time 2019-08-23 19:54:41 +01:00
4b0b923ca0 turn EventPriority into final class instead of abstract class 2019-08-23 19:12:55 +01:00
b2cd13daac Merge branch 'master' of https://github.com/pmmp/PocketMine-MP 2019-08-23 17:16:37 +01:00
e5b02ee5e0 make logic for fetching handler lists more consistent 2019-08-23 17:16:07 +01:00
aa60aa69ee World: fix bug in getNearestEntity()
fuck you PhpStorm
2019-08-21 18:51:08 -04:00
7e5193355e Remove old entity movement hack
This was intended to try and mitigate player movement clipping through blocks triggering anti cheat. Now that the anti cheat is gone, this code is no longer needed.
2019-08-21 18:46:39 +01:00