Dylan K. Taylor
14c7ab50d8
Merge commit 'b7bf92a5e'
...
# Conflicts:
# resources/vanilla
2020-05-20 20:15:15 +01:00
Dylan K. Taylor
b6209ffe71
Merge commit 'dcca000ea'
...
# Conflicts:
# resources/vanilla
2020-05-20 20:14:58 +01:00
Dylan K. Taylor
ca4f8501f6
Merge commit 'c4ea51f98'
...
# Conflicts:
# resources/vanilla
2020-05-20 20:14:33 +01:00
Dylan K. Taylor
d2ee2d42f9
Merge commit '8202bb1cd'
...
# Conflicts:
# resources/vanilla
2020-05-20 20:14:01 +01:00
Dylan K. Taylor
a34fbba4c8
Merge commit 'b75758e35'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/network/mcpe/protocol/MoveActorDeltaPacket.php
2020-05-20 20:13:28 +01:00
Dylan K. Taylor
82bc59f480
Merge commit '38a06f76f'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/network/mcpe/protocol/LoginPacket.php
2020-05-20 20:11:43 +01:00
Dylan K. Taylor
73495f303e
Merge commit '84f99ed41'
...
# Conflicts:
# resources/vanilla
2020-05-20 20:10:30 +01:00
Dylan K. Taylor
8f6ccb17fd
Merge commit 'fd63f1919'
...
# Conflicts:
# resources/vanilla
# src/network/mcpe/protocol/serializer/NetworkBinaryStream.php
# src/pocketmine/network/mcpe/protocol/StartGamePacket.php
2020-05-20 20:09:54 +01:00
Dylan K. Taylor
3bf52b3977
Merge commit '66d44aa81'
...
# Conflicts:
# resources/vanilla
2020-05-20 20:06:58 +01:00
Dylan K. Taylor
5caae278cf
Merge commit 'f3089f577'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/network/mcpe/protocol/StartGamePacket.php
2020-05-20 20:05:48 +01:00
Dylan K. Taylor
56f90a2901
Merge branch 'stable' into next-minor
2020-05-20 20:05:00 +01:00
Dylan K. Taylor
bf6af269c8
StartGamePacket: use PUBLIC visibility by default
2020-05-20 20:04:39 +01:00
Dylan K. Taylor
c5c1db1bc9
Merge commit '9516ef163'
...
# Conflicts:
# resources/vanilla
2020-05-20 20:00:56 +01:00
Dylan K. Taylor
64f0b2deb6
Merge commit 'e982a57cb'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/network/mcpe/protocol/StartGamePacket.php
2020-05-20 19:59:46 +01:00
Dylan K. Taylor
d33ccf4edc
Merge commit 'f57fa2252b6b7aa3667da5bb1e09fb716b951402'
...
# Conflicts:
# resources/vanilla
2020-05-20 19:57:50 +01:00
Dylan K. Taylor
b5a74fe3c7
Merge commit '02cc370855e543e64e34388c99fb439d206323ae'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/network/mcpe/protocol/StartGamePacket.php
2020-05-20 19:56:38 +01:00
Dylan K. Taylor
72761503cd
Merge commit '0a5d14a840a03564dcbc1d97deb91a92a00477b0'
...
# Conflicts:
# resources/vanilla
2020-05-20 19:53:23 +01:00
Dylan K. Taylor
570a709059
Merge commit '3ec2994d7f05f30e2519430379ae0f3106be5074'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
2020-05-20 19:52:03 +01:00
Dylan K. Taylor
73d1f84072
Merge branch 'stable' into next-minor
2020-05-20 19:36:20 +01:00
Dylan K. Taylor
a29424f5b3
UIProfile: name constants as they appear in the MC user-facing settings
...
I think these names are stupid, but it'll be easier for people to figure out what they refer to if they match the client-sided naming.
2020-05-20 15:06:50 +01:00
Dylan K. Taylor
ff3af492f8
Random: remove multiline formatting in nextSignedInt()
...
I'm sick to death of formatting tools messing with this...
2020-05-20 14:34:29 +01:00
Dylan K. Taylor
80b804f7aa
automated imports cleanup
2020-05-20 14:31:31 +01:00
Dylan K. Taylor
3a78735982
added UIProfile protocol constants
...
these are only used in the LoginPacket, but plugin devs will probably find them useful anyway
2020-05-20 14:27:50 +01:00
Dylan K. Taylor
ab32784c74
UpdateBlockSyncedPacket: remove default values for fields
2020-05-20 13:58:36 +01:00
Dylan K. Taylor
816234a379
UpdateBlockSyncedPacket: populate missing information for second field
2020-05-20 13:57:08 +01:00
Dylan K. Taylor
b7bf92a5e9
SimpleEventPacket: added missing type constant
2020-05-20 13:50:43 +01:00
Dylan K. Taylor
dcca000ead
PlayerActionPacket: added missing constant
2020-05-20 13:44:52 +01:00
Dylan K. Taylor
c4ea51f985
NpcRequestPacket: added request type constants
2020-05-20 13:42:40 +01:00
Dylan K. Taylor
8202bb1cd8
MoveActorAbsolutePacket: added missing flag
2020-05-20 13:39:56 +01:00
Dylan K. Taylor
b75758e35e
MoveActorDeltaPacket: added missing flags
2020-05-20 13:39:37 +01:00
Dylan K. Taylor
38a06f76f8
LoginPacket: remove unused constant
2020-05-20 13:15:43 +01:00
Dylan K. Taylor
84f99ed418
CommandOriginData: Rename previously unknown field
2020-05-20 13:00:03 +01:00
Dylan K. Taylor
fd63f19199
make use of new GameRuleType constants
2020-05-20 12:35:29 +01:00
Dylan K. Taylor
66d44aa814
added GameRuleType protocol constants
2020-05-20 12:35:07 +01:00
Dylan K. Taylor
f3089f577e
StartGamePacket: use new protocol constants for multiplayer visibility
2020-05-20 12:22:33 +01:00
Dylan K. Taylor
9516ef1632
added GamePublishSetting protocol constants
2020-05-20 12:22:12 +01:00
Dylan K. Taylor
e982a57cb5
StartGamePacket: use EducationEditionOffer constants
2020-05-20 12:08:56 +01:00
Dylan K. Taylor
f57fa2252b
added EducationEditionOffer protocol constants
2020-05-20 12:08:36 +01:00
Dylan K. Taylor
02cc370855
StartGamePacket: use GeneratorType constants
2020-05-20 12:05:41 +01:00
Dylan K. Taylor
0a5d14a840
added GeneratorType protocol constants
2020-05-20 12:05:41 +01:00
Dylan K. Taylor
3ec2994d7f
added protocol GameMode constants
2020-05-20 11:53:35 +01:00
Dylan K. Taylor
3bb53658da
Do not allow remote clients to spawn themselves before we're ready
...
this would have allowed clients to send SetLocalPlayerAsInitializedPacket at any time during the spawn sequence, which would have caused undefined behaviour around spawning logic.
2020-05-20 11:09:27 +01:00
Dylan K. Taylor
b09379151a
MainLogger: fix exception messages always reporting ErrorTypeToStringMap source if they have non-zero code
2020-05-19 22:43:44 +01:00
Dylan K. Taylor
3f1f135a59
remove a couple more Position->getWorld() usages
2020-05-19 21:38:51 +01:00
Dylan K. Taylor
81dff6d4c5
Merge branch 'next-minor'
2020-05-19 21:32:44 +01:00
Dylan K. Taylor
5b7a55660f
Merge commit '786f416f2ef31726b9e6fa0a5edde36aecddf085'
...
# Conflicts:
# resources/vanilla
# src/plugin/PluginBase.php
# src/utils/Utils.php
2020-05-19 21:19:44 +01:00
Dylan K. Taylor
5b82bd4fad
Merge commit 'a67d2ae978ecae234c3e46b5ac0f8f0dc99e85a7'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/item/Bow.php
2020-05-19 21:15:56 +01:00
Dylan K. Taylor
45ec4645d2
Merge commit '089180fef4534b383a31a9d560a76bfaf0d16c6b'
...
# Conflicts:
# resources/vanilla
# src/entity/Living.php
2020-05-19 21:14:54 +01:00
Dylan K. Taylor
da4a2d8552
Fixed a bunch of missed Position->getLevel() usages
...
these were not in the usage search because PhpStorm decided to refer to ChunkLoader->getLevel() for any Player references, which caused them to only show when that was searched.
There's also an undetected LSP violation with ChunkLoader because it requires returning Level and Position->getLevel() returns Level|null. I don't know why PHPStan doesn't complain about that.
2020-05-19 21:01:18 +01:00
Dylan K. Taylor
337addf1de
Eradicate remaining usages of public Position->world field
...
and as an added bonus, ditch a bunch of extra phpstan errors
2020-05-19 19:14:56 +01:00