5736 Commits

Author SHA1 Message Date
Dylan K. Taylor
ae612b913e Fixed config type detection, fixed configs being saved empty
Fixes LegendOfMCPE/EssentialsPE#354

When the config file didn't exist, no type detection was performed. This resulted in the case statement for Config->save() falling through and not writing anything to the file.
2017-06-27 16:44:05 +01:00
Dylan K. Taylor
adbc298909 Fixed item CompoundTags keeping the tag name after NBT serialize/deserialize, close #1145 2017-06-27 15:58:00 +01:00
Dylan K. Taylor
d92a6240d8 Moved spawn check to sendChunk() instead of sendNextChunk(), fix #828
doesn't make sense to put it anywhere else regardless...
2017-06-27 13:36:26 +01:00
Dylan K. Taylor
4a7c40edd5 ExplodePacket records have a signed Y coordinate -_- 2017-06-26 23:09:20 +01:00
Dylan K. Taylor
1dd8fc008b Fixed players taking forever to spawn when generating a new world 2017-06-26 18:37:20 +01:00
Dylan K. Taylor
ec079b68a6 Fixed missing packet registrations 2017-06-25 17:36:12 +01:00
Dylan K. Taylor
ecfcf49984 Added basic encode/decode for gamerules data and added GameRulesChangedPacket
needed it for tests

Squashed:

oops

PhpStorm you asshole
2017-06-25 15:43:08 +01:00
Dylan K. Taylor
f7aad8e2fe Use CRLF for PowerShell scripts 2017-06-25 14:15:34 +01:00
Dylan K. Taylor
a73c6f1861 Fixed some unnecessary FQNs in docs 2017-06-25 12:43:04 +01:00
Dylan K. Taylor
a365c831a8 Fixed some doc problems 2017-06-25 12:07:28 +01:00
Dylan K. Taylor
c0377fc63a more typehints, removed more 32-bit leftovers 2017-06-25 11:40:12 +01:00
Dylan K. Taylor
22d148a59d Fixed TAG_Short being read as unsigned 2017-06-24 11:22:32 +01:00
Dylan K. Taylor
a1ce535d02 Remove the old plugin repo from README since it is dead/outdated 1.6.2dev-229 api/3.0.0-ALPHA6 2017-06-23 23:21:34 +01:00
Dylan K. Taylor
993af0fa30 Added build-denied action constant
don't need this, but good to have for completion's sake
2017-06-23 16:58:28 +01:00
jasonwynn10
b83c135c3f Made Item::setLore() fluent (#1120) 2017-06-23 08:39:56 +01:00
Dylan K. Taylor
8bf1cc9e48 PHP version should be the very first thing to be checked 2017-06-23 01:52:53 +01:00
Dylan K. Taylor
c70690a600 Fixed cleanPath() not working when the current working dir case doesn't match the actual path case 2017-06-22 19:49:27 +01:00
Dylan K. Taylor
4b4f2af9e3 Fixed some very unusual crashdumps reporting non-fatal errors when plugins use die() or exit() 2017-06-22 19:08:33 +01:00
Dylan K. Taylor
9047c2c1ef Updated DevTools submodule with /makeserver fix 2017-06-22 17:16:59 +01:00
Dylan K. Taylor
89ca2ac2d5 Found an unknown field in ChangeDimensionPacket
No idea what this is actually used for though. It's set when a client dies in a different dimension and respawns in the overworld.
2017-06-22 15:52:29 +01:00
Dylan K. Taylor
6a2a74a457 Improved git hash handling, add dirty git detection and disable automatic reporting for dirty builds 2017-06-22 13:35:04 +01:00
Dylan K. Taylor
7ba807fd42 Update submodules 2017-06-22 09:41:07 +01:00
Dylan K. Taylor
19410754c6 API bump 2017-06-22 09:34:04 +01:00
Dylan K. Taylor
8cd31c2dc4 Fixed crashes starting RCON 2017-06-21 18:15:57 +01:00
Dylan K. Taylor
c09a5ab301 Revert botched fix that broke teleports
Revert "Do chunk orders and sending during onUpdate() when we know the player has been constructed"

This reverts commit 080b35bf538b5af7e8c4095a762034bd52156967.
2017-06-21 17:51:16 +01:00
Dylan K. Taylor
a0ef15b15e New CrashArchive is up 2017-06-21 14:25:54 +01:00
Dylan K. Taylor
03826d9cbc Fixed player spawnpoints glitching and not saving 2017-06-21 12:17:26 +01:00
Dylan K. Taylor
080b35bf53 Do chunk orders and sending during onUpdate() when we know the player has been constructed 2017-06-21 11:54:05 +01:00
Dylan K. Taylor
e9c46da7f0 Fixed glitching on respawn due to player 1.62 position offset 2017-06-21 11:27:50 +01:00
Dylan K. Taylor
0f79b19fdc Removed masks for Y coordinates, fixed bugs related to out-of-bounds coordinates, fixed #914 (#915) 2017-06-21 10:55:38 +01:00
Dylan K. Taylor
69ae37d191 Added no PvP flag for spectator mode, fixes nodamage sound in spectator 2017-06-21 09:42:26 +01:00
Dylan K. Taylor
86742fcf30 Workaround for flight controls fail on teleport (TODO: fix this properly) 2017-06-20 20:10:20 +01:00
Dylan K. Taylor
a4b8dd43e6 Removed useless confusing array indices in CompoundTag constructors (#1116) 2017-06-20 12:11:24 +01:00
Dylan K. Taylor
e11f1e94e9 Cleaned up SubChunk implementation 2017-06-19 15:40:31 +01:00
Dylan K. Taylor
938452bfe9 Clarified guidelines on useless issues 2017-06-19 13:43:10 +01:00
Dylan K. Taylor
a724395148 Added exception handling to Player->close(), mitigates #1060 and #1101 2017-06-19 13:37:38 +01:00
Dylan K. Taylor
bc10edfdd3 Removed incorrect use of \pocketmine\ANSI constant for debug logging in MainLogger constructor 2017-06-18 16:50:34 +01:00
Dylan K. Taylor
f7d07ca155 Updated DevTools submodule 2017-06-18 11:46:31 +01:00
Dylan K. Taylor
be7b057fa5 Improved metadata sending and made it less spammy
Add changed properties to a list to send in a group on tick in a single packet
2017-06-17 20:00:45 +01:00
Dylan K. Taylor
8637e0224f Check protocol version before anything else 2017-06-17 19:30:37 +01:00
Dylan K. Taylor
8919d4a372 Some refactoring to allow for light updates to be executed asynchronously 2017-06-17 17:38:47 +01:00
Dylan K. Taylor
0cf3914f5d Player base offset doesn't change with scale, close #943, close #945 2017-06-17 12:59:41 +01:00
jojoe77777
e9a638d84a Set a default value 0 for tick counter (#1108) 2017-06-17 12:42:42 +01:00
Dylan K. Taylor
e3b3f60c66 Fixed item stack count and effect amplifier overflows, close #1072 2017-06-17 12:22:38 +01:00
Dylan K. Taylor
1bae973502 Fix server crashing while crashing when trying to decode an invalid response from the crash-archive post 2017-06-17 10:31:20 +01:00
Dylan K. Taylor
e0f8a02bb8 Catch and log all crashes occurring while creating crashdumps 2017-06-17 10:25:34 +01:00
Dylan K. Taylor
846be84324 Fixed all file headers 2017-06-16 16:18:16 +01:00
Dylan K. Taylor
8ef24423d1 This should never be null 2017-06-16 15:48:08 +01:00
Dylan K. Taylor
8fc38c36f9 Fixed some derp Vector3 aliases 2017-06-16 13:48:53 +01:00
Dylan K. Taylor
eb05f2ecde Added UpdateNotifyEvent 2017-06-15 11:16:13 +01:00