Dylan K. Taylor
12bbc764ec
Fixed Level->getSafeSpawn() looking for blocks in chunk 0,0
2017-11-17 20:45:29 +00:00
Dylan K. Taylor
bee3c4f5cd
Cleaned up error messages for submodules (they are Composer dependencies now)
2017-11-17 19:56:05 +00:00
Dylan K. Taylor
bda40edebe
Fixed default level spawning bug reported on forums
...
https://forums.pmmp.io/threads/pocketmine-mp-version-1-7dev-399-error-listtag-members-must-be-namedtags-got-integer-in-given.4561
2017-11-17 16:59:57 +00:00
Dylan K. Taylor
5178373d8a
fixed overoptimized code in getSafeSpawn(), close #1248
2017-11-17 13:58:03 +00:00
Dylan K. Taylor
28188e5ef4
remove redundant count() for updateTiles
2017-11-17 13:47:54 +00:00
Dylan K. Taylor
7c2dccd2a6
Replace Player->joined with Player->spawned, remove redundant field
...
spawned serves basically the same purpose as joined does.
2017-11-17 13:44:37 +00:00
Dylan K. Taylor
adabfe78df
no-op for PlayerAction START_SLEEPING
...
this is pretty pointless tbh
2017-11-17 13:30:25 +00:00
Dylan K. Taylor
0fdceb6736
Remove useless sendNextChunk() condition
...
if the load queue is empty, it makes no difference whether we're spawned or not.
2017-11-17 13:24:31 +00:00
Dylan K. Taylor
ffa9a91a95
Remove dead craftingType field from Player
2017-11-17 12:57:49 +00:00
Dylan K. Taylor
78bb951942
Remove redundant survival check for exhaustion
2017-11-17 12:55:48 +00:00
Dylan K. Taylor
7508524b7b
Arrange login sequence code in a bit more chronological order
2017-11-17 12:47:57 +00:00
Dylan K. Taylor
db4a8be240
Remove duplicated duplicated player code in Player
2017-11-17 12:39:12 +00:00
Dylan K. Taylor
3fe9963c84
remove redundant arguments for Entity methods
2017-11-17 12:19:36 +00:00
Dylan K. Taylor
db8a835a64
add a default value for Entity->setCanClimb()
2017-11-17 12:19:04 +00:00
Dylan K. Taylor
460d540dbc
Further cleanup on ListTag and CompoundTag usage
2017-11-17 11:43:32 +00:00
Dylan K. Taylor
665130561e
Further cleanup on NBT dynamic field access
...
not sure how I missed so many of these... there are probably lots more besides :(
2017-11-17 11:19:36 +00:00
Dylan K. Taylor
48a7627b96
add constants for NBT tag names in WritableBook
2017-11-17 10:48:48 +00:00
Dylan K. Taylor
235fc4cd2f
remove redundant null coalesce
2017-11-17 10:45:14 +00:00
Dylan K. Taylor
e0654b85ba
get rid of dynamic field assignments
...
nearly there now... eventually
2017-11-17 10:43:51 +00:00
Dylan K. Taylor
19315dfd06
Some cleanup on WritableBook code, get rid of some CompoundTag magic
2017-11-17 10:43:51 +00:00
Dylan K. Taylor
f3ee605cd3
ignore doxygen files
2017-11-16 16:37:30 +00:00
Dylan K. Taylor
976d5583cc
Remove ItemFrame drops hack
2017-11-16 15:13:22 +00:00
Dylan K. Taylor
6adc813a7f
Fixed disable-block-ticking pocketmine.yml config not working
2017-11-16 14:45:00 +00:00
Dylan K. Taylor
769f3f75cd
added public doxygen configuration
2017-11-16 10:38:39 +00:00
Dylan K. Taylor
432d90bddd
quickfixes for command messages
...
these will have to be fixed properly at a later date
2017-11-16 08:56:01 +00:00
Dylan K. Taylor
3a16985d45
Cleaned up item & arrow pickup code
2017-11-15 12:14:42 +00:00
Oreo Oreoniv
bbbed22467
Save player data after PlayerQuitEvent ( #1544 ), close #1543 , close #1482
...
This reverses a bad solution for #1482 for level unloading on PlayerQuitEvent which caused more widespread issues with plugins doing other, more common things on player quit which directly affected the save data.
2017-11-15 11:16:02 +00:00
Sandertv
2794df34ab
Basic implementation of banners, including API to modify them with ease. ( #1331 )
...
Banner crafting is NOT implemented yet.
2017-11-15 11:10:46 +00:00
Dylan K. Taylor
73cd195e76
Merge branch 'master' into mcpe-1.2.5
2017-11-14 20:06:00 +00:00
Dylan K. Taylor
0d2b171c2c
Remove RakLib and SPL submodules, start using Composer
2017-11-14 19:37:58 +00:00
Dylan K. Taylor
aa399a1109
migrate to new CompoundTag API ( #1515 )
2017-11-10 15:38:21 +00:00
Dylan K. Taylor
d4494687d1
Fixed collision blocks not being recalculated after teleporting, close #1531
2017-11-09 15:11:42 +00:00
Dylan K. Taylor
6fe45a69c8
Updated RakLib submodule
2017-11-09 14:44:38 +00:00
Dylan K. Taylor
784ecef805
Remove unnecessary count()
2017-11-08 19:44:10 +00:00
Dylan K. Taylor
41f363d0c1
Added encode for AvailableCommandsPacket, bring back command lists (no arguments yet)
2017-11-08 11:52:06 +00:00
Dylan K. Taylor
827ee5ff33
more constants in Tile
2017-11-08 10:49:15 +00:00
Dylan K. Taylor
a4e955c0a4
Merge branch 'master' into mcpe-1.2.5
2017-11-07 15:27:14 +00:00
Dylan K. Taylor
733e61f815
add return typehints for Item fluent methods
...
to prevent issues like a2d4baf8b98223839918081cd8a5981fd7bff05d happening again >.>
2017-11-07 09:54:08 +00:00
Dylan K. Taylor
0621d5c8ea
Fixed JSON NBT parsing lists in /give
2017-11-07 09:50:59 +00:00
Dylan K. Taylor
a2d4baf8b9
Fixed ItemBlock->setDamage() not returning a value
2017-11-07 09:44:34 +00:00
Dylan K. Taylor
23bc97e098
Updated PocketMine-DevTools submodule
2017-11-07 09:36:58 +00:00
Dylan K. Taylor
14e6e3694d
Updated RakLib submodule
2017-11-07 09:35:00 +00:00
Dylan K. Taylor
0e64c3dad8
fixed misusing isAlive(), close #1523
2017-11-07 09:32:38 +00:00
Dylan K. Taylor
99f06c6c18
Fixed player hit animations
2017-11-06 14:41:48 +00:00
Dylan K. Taylor
3ca9e6ae98
Merge branch 'master' into mcpe-1.2.5
2017-11-06 14:35:10 +00:00
Dylan K. Taylor
fd0b07a0aa
Added API to allow getting player latency
2017-11-06 14:33:27 +00:00
Dylan K. Taylor
6ece799998
Updated RakLib submodule
2017-11-06 09:09:20 +00:00
Dylan K. Taylor
a9c75a882a
Updated PocketMine-SPL submodule
2017-11-05 20:51:26 +00:00
Dylan K. Taylor
4437b67178
added some EntityEventPacket constants
2017-11-05 12:41:39 +00:00
SOFe
34d2047ac3
A better error message for Server::getInstance() access on other threads
2017-11-05 18:40:47 +08:00