Dylan K. Taylor
bf5519b0cf
fix travis
2019-07-30 19:40:27 +01:00
Dylan K. Taylor
5499ac620c
Removed pocketmine subdirectory, map PSR-4 style
2019-07-30 19:14:57 +01:00
Dylan K. Taylor
7a77d3dc30
Merge branch 'stable'
...
# Conflicts:
# resources/vanilla
before-psr4
2019-07-30 19:00:50 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
ece28e5d7b
World: avoid triggering light updates when the target block light level/filter haven't changed
2019-07-30 18:01:23 +01:00
Dylan K. Taylor
3eb1a56985
Merge branch 'stable'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/world/World.php
2019-07-30 15:38:38 +01:00
Dylan K. Taylor
8f5eb7ef37
Level: fix memory leak on scheduled blockupdate in unloaded chunk
2019-07-30 15:37:24 +01:00
Dylan K. Taylor
cf1b140d57
fix chunks with entities & tiles not being saved after first autosave
...
this bug was introduced by 211836274f7008b83cab6f5ec40be539bff159d7, 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
Dylan K. Taylor
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
Dylan K. Taylor
334d15339f
updated Math dependency
2019-07-29 18:25:32 +01:00
Dylan K. Taylor
c40074d0bf
Entity: remove unused import
2019-07-29 18:25:05 +01:00
Dylan K. Taylor
96d8790028
rename Entity->propertyManager -> Entity->networkProperties
2019-07-29 18:24:29 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
a4042e5d18
World: fix more implicit chunk loading bugs (getCollidingEntities(), getNearbyEntities(), getNearestEntity())
2019-07-29 18:07:17 +01:00
Dylan K. Taylor
1111d0d4c7
World: remove dead function getChunkTiles()
2019-07-29 18:00:23 +01:00
Dylan K. Taylor
17a3ca066e
fix wrong type for Fuel tag on brewing stand
2019-07-29 17:50:02 +01:00
Dylan K. Taylor
52412e9c21
remove remaining dependencies on Bearing
2019-07-29 17:45:23 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
18d05f57b5
Merge branch 'next-minor'
2019-07-29 17:33:08 +01:00
Dylan K. Taylor
23b00bea5b
Merge branch 'stable' into next-minor
2019-07-29 17:31:06 +01:00
Dylan K. Taylor
0ea9a08963
3.9.4 is next
2019-07-29 17:27:21 +01:00
Dylan K. Taylor
18a1bfe4dd
Release 3.9.3
3.9.3
2019-07-29 17:27:21 +01:00
Dylan K. Taylor
2d3562c687
World: fixed scheduled updates causing chunk loading
...
this probably needs to be backported.
2019-07-29 17:21:54 +01:00
Dylan K. Taylor
f3f8cd98de
World: fixed scheduled updates causing chunk loading
...
this probably needs to be backported.
2019-07-29 17:17:05 +01:00
Dylan K. Taylor
b98dad6f63
Fixed WritableBook PC format deserialization
2019-07-29 16:37:40 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
6c0ae6bf0b
fuck off PhpStorm
2019-07-27 19:22:33 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
c9ecd04353
rename DataPropertyManager -> EntityMetadataCollection
2019-07-27 19:10:18 +01:00
Dylan K. Taylor
cde2c10c1d
AsyncTask: partial backport of 6ac0c517f54dc83fc23f41a6797c14e1f4b457a1 (simplify TLS)
...
- deprecated AsyncTask::peekLocal()
- AsyncTask::fetchLocal() no longer deletes stored data
2019-07-27 15:09:42 +01:00
Dylan K. Taylor
34ed2980e5
Merge branch 'next-minor'
2019-07-27 14:59:38 +01:00
Dylan K. Taylor
87fb42cabd
Merge branch 'stable' into next-minor
2019-07-27 14:53:13 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
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
Dylan K. Taylor
1e65ac0d85
Merge branch 'stable' into next-minor
2019-07-27 14:40:31 +01:00
Dylan K. Taylor
e75a08a5a3
AsyncPool: ensure TLS is always cleaned on task removal, closes #3059
2019-07-27 14:39:40 +01:00
Dylan K. Taylor
cb247a5f28
AsyncTask: Deprecate methods removed in 2c4f2810d2654375c2b834fe12999b465bfa2caf
2019-07-26 19:52:26 +01:00
Dylan K. Taylor
bb048fb361
Merge branch 'stable' into next-minor
2019-07-26 19:50:17 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
d55889d85f
AsyncTask: fixing docs
2019-07-26 19:41:45 +01:00
Dylan K. Taylor
99f65f19ac
BulkCurlTask: point to the right place in docs
2019-07-26 19:18:09 +01:00
Dylan K. Taylor
581eeee01d
fix rogue @package doc making doxygen choke
2019-07-26 19:15:02 +01:00
Dylan K. Taylor
7275952fc2
added some missing legacy ID constants
...
i'm not sure why my script missed these
2019-07-26 19:08:50 +01:00
HimbeersaftLP
17341d7406
Load Mathjax from https to prevent unsafe scripts error ( #3058 )
2019-07-26 18:49:02 +01:00
Dylan K. Taylor
a91a86bf1d
Removing achievements
2019-07-26 18:07:31 +01:00
Dylan K. Taylor
b543744534
Rename Solid -> Opaque
...
the old naming was misleading, particularly in conjunction with isSolid().
2019-07-22 19:56:01 +01:00
Dylan K. Taylor
e95b9fa432
Block: use isSameType() in some places
2019-07-22 19:23:28 +01:00
Dylan K. Taylor
72c0af2e82
Merge branch 'stable'
2019-07-22 17:39:44 +01:00
Dylan K. Taylor
04c0cd142d
3.9.3 is next
2019-07-22 17:28:33 +01:00
Dylan K. Taylor
7a747d6f93
Release 3.9.2
3.9.2
2019-07-22 17:28:33 +01:00