dfc26395e2
Fixed missing logger injection
2019-03-10 19:53:23 +00:00
8cb24547ff
Goodbye McRegion o/
2019-03-10 19:53:23 +00:00
8d83d59cf0
Work around collisions in backup names
2019-03-10 19:53:23 +00:00
a0a8026cba
Implemented automatic world format conversion
2019-03-10 19:53:23 +00:00
ae9f57ac28
Revert "Remove hacks for triggering adjacent light refill"
...
This reverts commit 1dca9074d5
.
This change introduced performance issues with transparent blocks.
2019-03-10 19:50:35 +00:00
c266f86b1b
ItemEntity: introduce controls for despawn timers ( #2769 )
...
This opts _not_ to expose item "age" a la #2753 because "age" is a misleading term for it. In addition, further inspection of the problem led me to realize that exposing control of that AND despawn timeout was more complicated than simply having a despawn delay timer exactly like the pickup delay one. Everyone knows a countdown timer stops at 0, so this way we don't need any method to control the limit.
Closes #2667
Closes #2753
2019-03-10 12:05:21 +00:00
b9208eb1fb
Merge branch '3.6'
2019-03-09 19:04:37 +00:00
414104851a
LevelDB: Mark chunks as changed when upgraded from an older chunk format
2019-03-09 19:02:34 +00:00
6fe366e1ac
Added some missing block properties
2019-03-09 16:49:37 +00:00
8f1bc5d497
Flatten wall_banner and wall_sign into single blocks ( #2798 )
...
This comes with some problems, but the problems are more bearable than the previous code.
2019-03-08 16:37:26 +00:00
bb718faa2e
Merge branch '3.6'
2019-03-08 13:57:32 +00:00
c68ee1d9d9
LevelDB: Mark chunks as changed when upgraded from an older chunk format
2019-03-08 13:55:56 +00:00
c0bed03a2a
Update PlayerRespawnEvent.php ( #2797 )
...
removed obsolete comment
2019-03-05 16:28:58 +00:00
2b6a62be77
Fixed BlockFactory corruption with signs and banners
2019-03-05 15:32:06 +00:00
3f66600271
RegionLoader: Extract location table validation to separate function
2019-03-05 13:28:56 +00:00
f2404804d7
RegionLoader: clean up lastSector handling
2019-03-05 13:18:14 +00:00
07a9c35ee2
RegionLoader: Use objects instead of arrays
2019-03-05 13:10:17 +00:00
4d9b074641
Merge branch '3.6'
2019-03-05 12:10:16 +00:00
d25c84acff
Fixed RegionLoader corrupting location table when too-large chunks are discovered
...
this was making the location table point to an offset that did not yet exist, which caused the region header consistency check to discard the region as corrupted the next time it was loaded.
2019-03-05 12:09:27 +00:00
e31603fc45
Merge branch '3.6'
2019-03-05 11:21:55 +00:00
55994e08db
RegionLoader: make some error messages more detailed
2019-03-05 11:18:02 +00:00
6f5d4d6b80
RegionLoader: fixed handling of invalid chunk coordinates
2019-03-05 10:52:36 +00:00
2795ad674b
add boilerplate code to check for generator validity
...
perhaps we should use an enum for this...?
2019-03-05 09:36:22 +00:00
2cad7166b1
GeneratorManager::getGeneratorName() now throws InvalidArgumentException on unregistered generator classes
...
the old behaviour allowed a bug in the world converter to go unnoticed.
2019-03-05 09:30:22 +00:00
3789f4d643
Merge branch 'master' of https://github.com/pmmp/pocketmine-mp
2019-03-04 12:03:45 +00:00
f87dac7bb2
Merge branch '3.6'
2019-03-04 12:02:36 +00:00
20a25a69df
Force emission of output buffer contents on crash
2019-03-04 12:01:30 +00:00
5017e61cb2
ItemFrame: fixed cloning null
2019-03-03 21:12:52 +00:00
f83e5c195c
fixed tiles and entities not getting saved on fast-deserialized chunks
2019-03-03 18:26:05 +00:00
54ef965b2a
Added warnings when unknown entities and tiles are removed
2019-03-03 18:02:34 +00:00
f5dbbea5f5
Utils: added recursiveUnlink()
2019-03-03 17:39:23 +00:00
3509b26751
LevelProvider: added calculateChunkCount()
...
this will be used to provide progress information to the user during world conversion.
2019-03-03 17:32:57 +00:00
1bb9b3d3ab
Discard light information from disk storage
...
this makes world conversion faster and offers the opportunity to correct age-old lighting bugs.
2019-03-03 16:22:44 +00:00
6e00ab2069
Chunk: add getNBTentities() and getNBTtiles()
...
this shit is horrible, but it's needed for now...
2019-03-03 14:00:46 +00:00
c3e66e0adc
LevelManager: add debug message when a level takes too long to tick
2019-03-03 13:26:16 +00:00
6bd43a8215
Firehose auto-tick-rate anti-feature, closes #2665
2019-03-03 13:24:53 +00:00
d9880de2ef
LevelManager: improve debug message for autosave
2019-03-03 12:43:02 +00:00
faca610594
NetworkBinaryStream: remove dead field
2019-03-03 12:38:03 +00:00
fc9a61859a
Item: remove misleading methods & premature optimization
2019-03-03 12:36:46 +00:00
abbdd7efdd
Item: make __toString() use base64 for displaying NBT
2019-03-03 12:33:28 +00:00
91603dc2d6
3.6.5 is next
2019-03-03 11:50:10 +00:00
af90e18b18
Release 3.6.4
2019-03-03 11:49:07 +00:00
158f81b427
Merge branch '3.6'
2019-03-03 11:15:40 +00:00
ab5b4d112b
BaseInventory: fixed items with userdata stacking with items without userdata
2019-03-03 11:12:36 +00:00
2bffd5cc1c
Add timer measurements for autosave
2019-03-02 18:20:25 +00:00
808259dccd
Introduce CancellableClosureTask
...
before anyone picks a fight about the naming, take it up with shoghi... let's be consistently wrong at least
2019-03-02 10:45:01 +00:00
6c8fa8ae28
More nullable and void typehints
2019-03-02 10:29:11 +00:00
1f5c901f29
ext-ds is now required
2019-03-01 20:03:16 +00:00
418d0f12fb
Slab: placement logic clean up
...
past me was full of shit, because blockReplace is the same as blockClicked when we click a single slab top/bottom to make a double slab, and the logic is identical to the below block with that in mind.
2019-03-01 19:15:24 +00:00
d961b272c7
Remove Tool <-> Block circular dependency in efficiency calculation
2019-03-01 18:18:56 +00:00