9733 Commits

Author SHA1 Message Date
Dylan K. Taylor
9ad7f74501 Merge branch '3.7' 2019-03-21 19:02:55 +00:00
Dylan K. Taylor
9c01ecbe7e Merge branch '3.6' into 3.7 2019-03-21 19:02:20 +00:00
Dylan K. Taylor
6a55021779 Flat: Allow asterisk in preset layers
closes #2818
2019-03-21 18:59:50 +00:00
Dylan K. Taylor
588ebe446f Fixed Chunk->setFullBlock() not creating new subchunks, closes #2821 2019-03-21 18:47:24 +00:00
Dylan K. Taylor
8c536c248d Updating for latest PocketMine-NBT changes 2019-03-21 15:58:22 +00:00
Dylan K. Taylor
1ac255f955 fix some formatting issues 2019-03-21 15:46:07 +00:00
Dylan K. Taylor
2966e87aae BlockFactory: Regenerate TODO list 2019-03-21 14:33:56 +00:00
Dylan K. Taylor
2e5ef4ba03 Merge remote-tracking branch 'origin/3.7' 2019-03-20 21:35:13 +00:00
Dylan K. Taylor
6ada261b04 3.7.1 is next 2019-03-20 19:39:36 +00:00
Dylan K. Taylor
14a6779e08 Release 3.7.0 3.7.0 2019-03-20 19:17:41 +00:00
Dylan K. Taylor
cce99b07af 1.10.0 updates 2019-03-20 19:17:41 +00:00
Dylan K. Taylor
c3d80d711d Fixed autosave time report measurement not using correct unit (as per master) 2019-03-20 19:01:10 +00:00
Dylan K. Taylor
cc78c9ef18 Merge branch '3.6' 2019-03-18 08:58:59 +00:00
Sandertv
1a8b33dafe AvailableCommandsPacket: Updated the ARG_TYPE constants
closes #2817
2019-03-18 08:58:07 +00:00
Dylan K. Taylor
8de9e61651 Item: Remove get/set/removeNamedTagEntry() 2019-03-17 17:49:09 +00:00
Dylan K. Taylor
5830ca958b Further out-phasing of legacy ID/meta
this paves the way for making internal IDs fully dynamic.
2019-03-17 16:01:04 +00:00
Dylan K. Taylor
6f54b53f7a thanks for being useless PhpStorm
these problems didn't show up in any inspections until I opened the fucking files...
2019-03-17 15:53:59 +00:00
Dylan K. Taylor
87928038e6 sync deps 2019-03-17 15:19:47 +00:00
Dylan K. Taylor
7d72b8e756 leveldb: use writebatch for chunk saving (faster I/O)
i don't know why this wasn't already using a writebatch, but it should have been.
2019-03-15 16:45:47 +00:00
Dylan K. Taylor
9205bbaa42 ... why is this not saved on provider close...? 2019-03-15 04:43:19 -04:00
Dylan K. Taylor
a91f49220c Chunk: Do not mark as changed on lighting updates
Since we don't save light to disk anymore, we don't need to care if a light update took place. This improves I/O performance.
2019-03-14 16:34:14 +00:00
Dylan K. Taylor
62185d476b RegionLoader: Fixed performance issue converting huge worlds
I was big nub when i wrote this code.
2019-03-14 15:22:44 +00:00
Dylan K. Taylor
1e0f1e5b1a RegionLoader: Stop unnecessarily writing location header on close
Any time a region is modified, the location header is written anyway, so this is entirely unnecessary.
2019-03-14 15:06:13 +00:00
Dylan K. Taylor
d080d3bae0 RegionLoader: Write location table changes when deleting chunks 2019-03-14 15:02:15 +00:00
Dylan K. Taylor
41d13b6f06 Player: remove dead condition
this can't be reached because the only place it's called is from Level->actuallyDoTick(), where it won't appear until long after the player is logged in.
2019-03-14 14:47:20 +00:00
Dylan K. Taylor
a1ffaffa7f Don't record player on stats until they actually exist 2019-03-14 14:46:19 +00:00
Dylan K. Taylor
ebfe9caca3 Move too-early-send check to NetworkSession 2019-03-14 14:45:30 +00:00
Dylan K. Taylor
26a5d97499 Some cleanup to player net session handling for connect/disconnect 2019-03-14 14:32:43 +00:00
Dylan K. Taylor
fa7a4dc22e Fixed warning of bad default format on new installs 2019-03-13 21:43:07 +00:00
Dylan K. Taylor
34758e3bc6 RegionLevelProvider: clean up coordinate extraction, fixed a stupid bug 2019-03-13 17:35:09 +00:00
Dylan K. Taylor
08c399529d RegionLevelProvider: Unload regions when finished scanning them, fixes running out of file descriptors during conversion 2019-03-13 17:32:34 +00:00
Dylan K. Taylor
ad19696364 Make Effect and Enchantment functions less verbose 2019-03-13 15:26:21 +00:00
Dylan K. Taylor
01904adf49 Improve enum implementations, move some components to traits
The reason this uses a trait is because `self` refers to the including class in a trait, which offers a small amount of automatic type safety.
If we had templates or generics, this would be a generic class instead.
2019-03-13 15:10:31 +00:00
Dylan K. Taylor
7f4b76aa86 Implemented blue ice 2019-03-12 19:38:03 +00:00
Dylan K. Taylor
0e1a88f7e5 Armor: Implement right-click to equip, closes #2641 2019-03-12 19:01:36 +00:00
Dylan K. Taylor
8b9eeb0b7f Clean up Armor classes 2019-03-12 18:53:51 +00:00
Dylan K. Taylor
2e4b3d3d46 Sync legacyID map (thanks @MCMrARM) 2019-03-11 17:38:02 +00:00
Dylan K. Taylor
1d4f44d259 Updated BlockFactory consistency check data 2019-03-10 19:53:55 +00:00
Dylan T
13bea6c787 Updated Travis configuration 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
48427290c9 Regenerated BlockFactory TODOs 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
437750785f Implemented barrier block 2019-03-10 19:53:55 +00:00
Dylan K. Taylor
c2a069afd3 Implemented a bunch of new wood blocks 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
84bbd14a21 fixed wrong generator being set on converted worlds 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
85e1b77cae fix crash in getHighestBlockAt() 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
18e16f8615 Fixed blockID truncation 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
7aa4c18afa Fixed assert failure in SubChunk 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
a858103e6b Support paletted subchunks, drop all formats except leveldb 2019-03-10 19:53:24 +00:00
Dylan K. Taylor
dfc26395e2 Fixed missing logger injection 2019-03-10 19:53:23 +00:00
Dylan K. Taylor
8cb24547ff Goodbye McRegion o/ 2019-03-10 19:53:23 +00:00
Dylan K. Taylor
8d83d59cf0 Work around collisions in backup names 2019-03-10 19:53:23 +00:00