7a77d3dc30
Merge branch 'stable'
...
# Conflicts:
# resources/vanilla
before-psr4
2019-07-30 19:00:50 +01:00
6b4d8b91c6
fix crashdump plugin detection
...
some things which were copy pasting PM classes into plugins were causing incorrect detection here. The path cleaning guarantees that all plugin paths will start with "plugins/", so we can use that to check instead.
2019-07-30 18:58:31 +01:00
ece28e5d7b
World: avoid triggering light updates when the target block light level/filter haven't changed
2019-07-30 18:01:23 +01:00
3eb1a56985
Merge branch 'stable'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/world/World.php
2019-07-30 15:38:38 +01:00
8f5eb7ef37
Level: fix memory leak on scheduled blockupdate in unloaded chunk
2019-07-30 15:37:24 +01:00
cf1b140d57
fix chunks with entities & tiles not being saved after first autosave
...
this bug was introduced by 211836274f
, which did not take into consideration that the dirty flag is cleared after the first time the chunk is saved, meaning that later entity and tile changes wouldn't be saved.
I considered this fix more elegant than reverting the bug commit.
2019-07-29 19:38:47 +01:00
2ecdea2cc6
LevelDB: increase default block size to 64KB
...
this might be a little too big, but it's definitely better than the leveldb default 4KB, since most of our data is bigger than 4KB.
2019-07-29 18:54:27 +01:00
334d15339f
updated Math dependency
2019-07-29 18:25:32 +01:00
c40074d0bf
Entity: remove unused import
2019-07-29 18:25:05 +01:00
96d8790028
rename Entity->propertyManager -> Entity->networkProperties
2019-07-29 18:24:29 +01:00
452cfe2f59
World: drop getChunkEntities(), use getChunk()->getEntities()
...
everywhere this function is used, it should be assumed/expected that the chunk in question is already present and loaded.
2019-07-29 18:20:33 +01:00
a4042e5d18
World: fix more implicit chunk loading bugs (getCollidingEntities(), getNearbyEntities(), getNearestEntity())
2019-07-29 18:07:17 +01:00
1111d0d4c7
World: remove dead function getChunkTiles()
2019-07-29 18:00:23 +01:00
17a3ca066e
fix wrong type for Fuel tag on brewing stand
2019-07-29 17:50:02 +01:00
52412e9c21
remove remaining dependencies on Bearing
2019-07-29 17:45:23 +01:00
a621bf66ff
Remove implied dependence on Facing/Bearing constant values
...
this introduces mapping tables for redundancy for when those things change or disappear.
2019-07-29 17:43:36 +01:00
18d05f57b5
Merge branch 'next-minor'
2019-07-29 17:33:08 +01:00
23b00bea5b
Merge branch 'stable' into next-minor
2019-07-29 17:31:06 +01:00
0ea9a08963
3.9.4 is next
2019-07-29 17:27:21 +01:00
18a1bfe4dd
Release 3.9.3
3.9.3
2019-07-29 17:27:21 +01:00
2d3562c687
World: fixed scheduled updates causing chunk loading
...
this probably needs to be backported.
2019-07-29 17:21:54 +01:00
f3f8cd98de
World: fixed scheduled updates causing chunk loading
...
this probably needs to be backported.
2019-07-29 17:17:05 +01:00
b98dad6f63
Fixed WritableBook PC format deserialization
2019-07-29 16:37:40 +01:00
e06ab0869a
mostly rewrite internal entity metadata handling
...
- Only sync the metadata set when needed for sending
- Don't use metadata set for storing data, add properties instead
- Use objects inside metadata sets instead of arrays
2019-07-28 19:40:47 +01:00
6c0ae6bf0b
fuck off PhpStorm
2019-07-27 19:22:33 +01:00
379a40c13a
break up the pocketmine\network\mcpe\protocol\types namespace
...
this namespace nesting is getting out of hand, but it's more manageable this way.
2019-07-27 19:19:48 +01:00
c9ecd04353
rename DataPropertyManager -> EntityMetadataCollection
2019-07-27 19:10:18 +01:00
cde2c10c1d
AsyncTask: partial backport of 6ac0c517f5
(simplify TLS)
...
- deprecated AsyncTask::peekLocal()
- AsyncTask::fetchLocal() no longer deletes stored data
2019-07-27 15:09:42 +01:00
34ed2980e5
Merge branch 'next-minor'
2019-07-27 14:59:38 +01:00
87fb42cabd
Merge branch 'stable' into next-minor
2019-07-27 14:53:13 +01:00
cb40484a2e
AsyncTask: Remove a bunch of reference-management drivel from documentation of storeLocal()
...
this works (mostly) the same way regular properties do, so the usual rules are implied.
2019-07-27 14:52:53 +01:00
6566dd8c8f
AsyncPool: Remove useless warning about complex data leftovers
...
this is automatically cleaned up anyway, so this warning is just redundant noise.
2019-07-27 14:44:40 +01:00
1e65ac0d85
Merge branch 'stable' into next-minor
2019-07-27 14:40:31 +01:00
e75a08a5a3
AsyncPool: ensure TLS is always cleaned on task removal, closes #3059
2019-07-27 14:39:40 +01:00
cb247a5f28
AsyncTask: Deprecate methods removed in 2c4f2810d2
2019-07-26 19:52:26 +01:00
bb048fb361
Merge branch 'stable' into next-minor
2019-07-26 19:50:17 +01:00
95dfff727e
Wrap PocketMine.php body inside a function
...
this isolates variables from the global scope and also prevents doxygen documenting these variables.
2019-07-26 19:47:03 +01:00
d55889d85f
AsyncTask: fixing docs
2019-07-26 19:41:45 +01:00
99f65f19ac
BulkCurlTask: point to the right place in docs
2019-07-26 19:18:09 +01:00
581eeee01d
fix rogue @package doc making doxygen choke
2019-07-26 19:15:02 +01:00
7275952fc2
added some missing legacy ID constants
...
i'm not sure why my script missed these
2019-07-26 19:08:50 +01:00
17341d7406
Load Mathjax from https to prevent unsafe scripts error ( #3058 )
2019-07-26 18:49:02 +01:00
a91a86bf1d
Removing achievements
2019-07-26 18:07:31 +01:00
b543744534
Rename Solid -> Opaque
...
the old naming was misleading, particularly in conjunction with isSolid().
2019-07-22 19:56:01 +01:00
e95b9fa432
Block: use isSameType() in some places
2019-07-22 19:23:28 +01:00
72c0af2e82
Merge branch 'stable'
2019-07-22 17:39:44 +01:00
04c0cd142d
3.9.3 is next
2019-07-22 17:28:33 +01:00
7a747d6f93
Release 3.9.2
3.9.2
2019-07-22 17:28:33 +01:00
e93d034a4e
fix bucket empty sound position, close #3051
2019-07-22 17:17:15 +01:00
5a08a10448
update dependency requirements
2019-07-22 17:15:18 +01:00