9403 Commits

Author SHA1 Message Date
Dylan K. Taylor
e31603fc45 Merge branch '3.6' 2019-03-05 11:21:55 +00:00
Dylan K. Taylor
55994e08db RegionLoader: make some error messages more detailed 2019-03-05 11:18:02 +00:00
Dylan K. Taylor
6f5d4d6b80 RegionLoader: fixed handling of invalid chunk coordinates 2019-03-05 10:52:36 +00:00
Dylan K. Taylor
df1ef7fe0c Improve RegionLoader tests 2019-03-05 10:51:44 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
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
Dylan K. Taylor
3789f4d643 Merge branch 'master' of https://github.com/pmmp/pocketmine-mp 2019-03-04 12:03:45 +00:00
Dylan K. Taylor
f87dac7bb2 Merge branch '3.6' 2019-03-04 12:02:36 +00:00
Dylan K. Taylor
20a25a69df Force emission of output buffer contents on crash 2019-03-04 12:01:30 +00:00
Dylan K. Taylor
5017e61cb2 ItemFrame: fixed cloning null 2019-03-03 21:12:52 +00:00
Dylan K. Taylor
f83e5c195c fixed tiles and entities not getting saved on fast-deserialized chunks 2019-03-03 18:26:05 +00:00
Dylan K. Taylor
54ef965b2a Added warnings when unknown entities and tiles are removed 2019-03-03 18:02:34 +00:00
Dylan K. Taylor
f5dbbea5f5 Utils: added recursiveUnlink() 2019-03-03 17:39:23 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
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
Dylan K. Taylor
6e00ab2069 Chunk: add getNBTentities() and getNBTtiles()
this shit is horrible, but it's needed for now...
2019-03-03 14:00:46 +00:00
Dylan K. Taylor
93cd00ae8f Remove dead settings from pocketmine.yml 2019-03-03 13:28:18 +00:00
Dylan K. Taylor
c3e66e0adc LevelManager: add debug message when a level takes too long to tick 2019-03-03 13:26:16 +00:00
Dylan K. Taylor
6bd43a8215 Firehose auto-tick-rate anti-feature, closes #2665 2019-03-03 13:24:53 +00:00
Dylan K. Taylor
d9880de2ef LevelManager: improve debug message for autosave 2019-03-03 12:43:02 +00:00
Dylan K. Taylor
743d91a670 Merge branch '3.6' 2019-03-03 12:38:19 +00:00
Dylan K. Taylor
faca610594 NetworkBinaryStream: remove dead field 2019-03-03 12:38:03 +00:00
Dylan K. Taylor
fc9a61859a Item: remove misleading methods & premature optimization 2019-03-03 12:36:46 +00:00
Dylan K. Taylor
abbdd7efdd Item: make __toString() use base64 for displaying NBT 2019-03-03 12:33:28 +00:00
Dylan K. Taylor
1c79d43d88 Merge branch '3.6' 2019-03-03 11:59:53 +00:00
Dylan K. Taylor
91603dc2d6 3.6.5 is next 2019-03-03 11:50:10 +00:00
Dylan K. Taylor
af90e18b18 Release 3.6.4 3.6.4 2019-03-03 11:49:07 +00:00
Dylan K. Taylor
0573838be3 rename submodules 2019-03-03 11:47:00 +00:00
Dylan K. Taylor
158f81b427 Merge branch '3.6' 2019-03-03 11:15:40 +00:00
Dylan K. Taylor
ab5b4d112b BaseInventory: fixed items with userdata stacking with items without userdata 2019-03-03 11:12:36 +00:00
Dylan K. Taylor
a30b1fb6d5 Inventory: Add failing test case for itemstack NBT duplication 2019-03-03 11:11:33 +00:00
Dylan K. Taylor
2bffd5cc1c Add timer measurements for autosave 2019-03-02 18:20:25 +00:00
Dylan K. Taylor
382488dd07 sync locale submodule 2019-03-02 17:20:37 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
6c8fa8ae28 More nullable and void typehints 2019-03-02 10:29:11 +00:00
Dylan K. Taylor
1f5c901f29 ext-ds is now required 2019-03-01 20:03:16 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
d961b272c7 Remove Tool <-> Block circular dependency in efficiency calculation 2019-03-01 18:18:56 +00:00
Dylan K. Taylor
72233a509d preprocessor fix 2019-03-01 18:08:03 +00:00
Dylan K. Taylor
e9125af51d Revamp Banner API (still rather ghetto)
this needs more work, like signs do.
2019-03-01 17:57:07 +00:00
Dylan K. Taylor
80ac0180b3 Remove redundant isAffectedBySilkTouch() overrides
this was needed previously to prevent dropping blockitems when these blocks were destroyed. Now the item form is always yielded instead.
2019-03-01 13:34:32 +00:00
Dylan K. Taylor
12dfcc9eb6 Banner: Sort lines lexicographically ascending 2019-03-01 11:06:42 +00:00
Dylan K. Taylor
1e9e179ec0 Fixed Block consistency check failure since 943906cc6b8a95c62ed7227466de5500eb7548b0 2019-03-01 08:24:25 +00:00
Dylan K. Taylor
741d061415 NoteBlock: added //TODO 2019-02-28 19:59:33 +00:00
Dylan K. Taylor
943906cc6b Partial comparator implementation
this supports placement, toggling compare/subtract mode, simple stuff. No redstone functionality yet.
This is needed for blockstate mapping in blockfactory.
2019-02-28 19:26:47 +00:00
Dylan K. Taylor
7b23baa020 FlowerPot: yield contained plant when block-picking 2019-02-28 17:49:48 +00:00
Dylan K. Taylor
97a1d997e8 ItemFrame: yield framed item when block-picking, fixes [1] in #2706 2019-02-28 17:47:32 +00:00
Dylan K. Taylor
d679fb7546 Block: Rename onActivate() -> onInteract() 2019-02-28 17:35:30 +00:00
Dylan K. Taylor
c9eb642afd PacketPool: missing @throws 2019-02-28 17:15:06 +00:00
Dylan K. Taylor
08e799c35a Once again... add a missing file... 2019-02-28 17:14:04 +00:00