0ee452773d
Fixed missing getValue() implementation on CompoundTag
2017-11-21 10:52:00 +00:00
a39c9e8c8e
add ResourcePack->getPath(), close #1559
2017-11-20 13:24:30 +00:00
32714d4564
Don't write server.properties to disk unless it's been modified at runtime
2017-11-20 10:04:39 +00:00
feade9d982
Added a flag to Config to allow detecting if it has been modified since it was last saved
2017-11-20 10:04:11 +00:00
373f085436
Fixed a usage of get(true)
2017-11-20 09:50:52 +00:00
d2416d335e
Use keepMovement in spectator and when movement anti-cheat is disabled
...
this makes it much less expensive for players to move around when anti-cheat is disabled. And let's be honest... who uses this shit anyway
2017-11-19 19:31:03 +00:00
a8ad956b29
Fixed keepMovement logic
2017-11-19 19:28:04 +00:00
00a9ae6c95
make use of getSavableEntities() in Level->unloadChunk()
...
why couldn't I have thought of this before I changed this the first time >.>
2017-11-19 18:08:42 +00:00
a9df383346
generalized conditions for saving entities with chunks
2017-11-19 18:06:38 +00:00
19dc22d6b3
Chunk save: skip entities which won't be saved anyway
...
don't just hardcode this to players
2017-11-19 17:57:54 +00:00
2fd61163bf
cleanup some chunks leftovers from 1.0
2017-11-19 17:52:36 +00:00
5640bcb0b8
add some new leveldb keys
2017-11-19 17:43:54 +00:00
ea3c7383fb
Added support for handling MCPE 1.2 leveldb worlds
...
requires php-leveldb version >=0.2.1 and the latest version of
pmmp/leveldb-mcpe
2017-11-19 17:31:09 +00:00
7e496afdd1
Fixed issues with LevelDB worlds silently getting overwritten with the default format when LevelDB extension is not loaded
...
Always register the level provider (to allow detecting the world format) but throw exceptions if anything tries to use it without the extension being loaded.
2017-11-19 17:28:16 +00:00
3bc3a0bb49
Remove redundant inventory resend on gamemode change
...
inventory isn't modified, so there is no need to resend it
2017-11-19 15:34:29 +00:00
c75e62b38c
Fix /gamemode output again
2017-11-19 15:28:34 +00:00
3a80ec4db8
Add bed too far message
2017-11-19 10:22:04 +00:00
8abad33048
Change TextFormat::WHITE to RESET in Server.php
2017-11-19 10:22:04 +00:00
a91a4489d4
Updated PocketMine-Language submodule
2017-11-19 10:21:06 +00:00
96348e0e44
Fix setMaxAirSupplyTicks() ( #1555 )
2017-11-19 01:40:46 +00:00
dd8a772d43
Removed handler for PlayerHotbarPacket
...
this thing is useless now, and the equipment stuff can be done with MobEquipmentPacket anyway.
2017-11-18 16:03:18 +00:00
dc553142c9
Remove redundant if/else in Player->checkGroundState()
2017-11-18 15:59:51 +00:00
81fe00a0a5
Slightly simplify Player->kick()
2017-11-18 15:56:58 +00:00
6facd8b50f
Provide a way for plugins such as Specter to bypass chain verification
2017-11-18 12:44:18 +00:00
e709e3c653
Allow skin geometry name field to be missing
...
it's not needed, and plugins doing this might want to skip it
2017-11-18 12:32:31 +00:00
eaba105614
Durable: use new CompoundTag API
2017-11-18 11:13:35 +00:00
12bbc764ec
Fixed Level->getSafeSpawn() looking for blocks in chunk 0,0
2017-11-17 20:45:29 +00:00
bee3c4f5cd
Cleaned up error messages for submodules (they are Composer dependencies now)
2017-11-17 19:56:05 +00:00
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
5178373d8a
fixed overoptimized code in getSafeSpawn(), close #1248
2017-11-17 13:58:03 +00:00
28188e5ef4
remove redundant count() for updateTiles
2017-11-17 13:47:54 +00:00
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
adabfe78df
no-op for PlayerAction START_SLEEPING
...
this is pretty pointless tbh
2017-11-17 13:30:25 +00:00
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
ffa9a91a95
Remove dead craftingType field from Player
2017-11-17 12:57:49 +00:00
78bb951942
Remove redundant survival check for exhaustion
2017-11-17 12:55:48 +00:00
7508524b7b
Arrange login sequence code in a bit more chronological order
2017-11-17 12:47:57 +00:00
db4a8be240
Remove duplicated duplicated player code in Player
2017-11-17 12:39:12 +00:00
3fe9963c84
remove redundant arguments for Entity methods
2017-11-17 12:19:36 +00:00
db8a835a64
add a default value for Entity->setCanClimb()
2017-11-17 12:19:04 +00:00
460d540dbc
Further cleanup on ListTag and CompoundTag usage
2017-11-17 11:43:32 +00:00
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
48a7627b96
add constants for NBT tag names in WritableBook
2017-11-17 10:48:48 +00:00
235fc4cd2f
remove redundant null coalesce
2017-11-17 10:45:14 +00:00
e0654b85ba
get rid of dynamic field assignments
...
nearly there now... eventually
2017-11-17 10:43:51 +00:00
19315dfd06
Some cleanup on WritableBook code, get rid of some CompoundTag magic
2017-11-17 10:43:51 +00:00
f3ee605cd3
ignore doxygen files
2017-11-16 16:37:30 +00:00
976d5583cc
Remove ItemFrame drops hack
2017-11-16 15:13:22 +00:00
6adc813a7f
Fixed disable-block-ticking pocketmine.yml config not working
2017-11-16 14:45:00 +00:00
769f3f75cd
added public doxygen configuration
2017-11-16 10:38:39 +00:00