b5a74fe3c7
Merge commit '02cc370855e543e64e34388c99fb439d206323ae'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/network/mcpe/protocol/StartGamePacket.php
2020-05-20 19:56:38 +01:00
72761503cd
Merge commit '0a5d14a840a03564dcbc1d97deb91a92a00477b0'
...
# Conflicts:
# resources/vanilla
2020-05-20 19:53:23 +01:00
570a709059
Merge commit '3ec2994d7f05f30e2519430379ae0f3106be5074'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/Player.php
2020-05-20 19:52:03 +01:00
73d1f84072
Merge branch 'stable' into next-minor
2020-05-20 19:36:20 +01:00
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
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
80b804f7aa
automated imports cleanup
2020-05-20 14:31:31 +01:00
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
ab32784c74
UpdateBlockSyncedPacket: remove default values for fields
2020-05-20 13:58:36 +01:00
816234a379
UpdateBlockSyncedPacket: populate missing information for second field
2020-05-20 13:57:08 +01:00
b7bf92a5e9
SimpleEventPacket: added missing type constant
2020-05-20 13:50:43 +01:00
dcca000ead
PlayerActionPacket: added missing constant
2020-05-20 13:44:52 +01:00
c4ea51f985
NpcRequestPacket: added request type constants
2020-05-20 13:42:40 +01:00
8202bb1cd8
MoveActorAbsolutePacket: added missing flag
2020-05-20 13:39:56 +01:00
b75758e35e
MoveActorDeltaPacket: added missing flags
2020-05-20 13:39:37 +01:00
38a06f76f8
LoginPacket: remove unused constant
2020-05-20 13:15:43 +01:00
84f99ed418
CommandOriginData: Rename previously unknown field
2020-05-20 13:00:03 +01:00
fd63f19199
make use of new GameRuleType constants
2020-05-20 12:35:29 +01:00
66d44aa814
added GameRuleType protocol constants
2020-05-20 12:35:07 +01:00
f3089f577e
StartGamePacket: use new protocol constants for multiplayer visibility
2020-05-20 12:22:33 +01:00
9516ef1632
added GamePublishSetting protocol constants
2020-05-20 12:22:12 +01:00
e982a57cb5
StartGamePacket: use EducationEditionOffer constants
2020-05-20 12:08:56 +01:00
f57fa2252b
added EducationEditionOffer protocol constants
2020-05-20 12:08:36 +01:00
02cc370855
StartGamePacket: use GeneratorType constants
2020-05-20 12:05:41 +01:00
0a5d14a840
added GeneratorType protocol constants
2020-05-20 12:05:41 +01:00
3ec2994d7f
added protocol GameMode constants
2020-05-20 11:53:35 +01:00
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
82e257cf13
BUILDING.md: Fixed wrong instruction of running from source ( #3512 )
2020-05-19 22:44:57 +01:00
b09379151a
MainLogger: fix exception messages always reporting ErrorTypeToStringMap source if they have non-zero code
2020-05-19 22:43:44 +01:00
3f1f135a59
remove a couple more Position->getWorld() usages
2020-05-19 21:38:51 +01:00
81dff6d4c5
Merge branch 'next-minor'
2020-05-19 21:32:44 +01:00
5b7a55660f
Merge commit '786f416f2ef31726b9e6fa0a5edde36aecddf085'
...
# Conflicts:
# resources/vanilla
# src/plugin/PluginBase.php
# src/utils/Utils.php
2020-05-19 21:19:44 +01:00
5b82bd4fad
Merge commit 'a67d2ae978ecae234c3e46b5ac0f8f0dc99e85a7'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/item/Bow.php
2020-05-19 21:15:56 +01:00
45ec4645d2
Merge commit '089180fef4534b383a31a9d560a76bfaf0d16c6b'
...
# Conflicts:
# resources/vanilla
# src/entity/Living.php
2020-05-19 21:14:54 +01:00
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
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
8a8b1b0b97
Remove Position->setWorld()
2020-05-19 18:33:16 +01:00
148228e360
update pocketmine/math, adapt to add() changes
2020-05-19 12:26:18 +01:00
dc9351b024
Merge remote-tracking branch 'origin/stable' into next-minor
2020-05-19 11:26:25 +01:00
786f416f2e
Improved support for paths with backslashes on Unix filesystems ( #3501 )
...
Fixes #3497
2020-05-19 10:34:51 +01:00
a67d2ae978
parity: burning players no longer shoot burning arrows ( #3509 )
...
this behaviour doesn't exist in vanilla.
2020-05-19 10:31:39 +01:00
089180fef4
Players no longer burn when hit by other players, closes #3170 ( #3470 )
2020-05-18 21:13:56 +01:00
f0fefecf40
updated l7 and l8 baselines for master
2020-05-18 20:36:50 +01:00
55f8314fa7
Merge branch 'next-minor'
...
# Conflicts:
# resources/vanilla
2020-05-18 20:33:22 +01:00
232ff838db
Merge commit '22b5de09b476a8c1638adfaba56b210c1eb1faf0'
...
# Conflicts:
# resources/vanilla
# src/pocketmine/level/particle/InstantEnchantParticle.php
# src/world/sound/ExplodeSound.php
2020-05-18 20:30:00 +01:00
ba0dcdb722
Merge commit '71a8b0340c303a4d2c024ad5a0a558c5e52694e7'
...
# Conflicts:
# resources/vanilla
2020-05-18 20:18:47 +01:00
15baf09339
update l7 and l8 baselines for next-minor branch
2020-05-18 20:16:03 +01:00
083dde8395
Merge branch 'stable' into next-minor
2020-05-18 20:10:47 +01:00
fffa4b9501
phpstan: baseline our way to level 8
...
we really need the level 8 checks on new code now, and waiting until old code is clean is not going to benefit us much because the issues that are there already exist.
2020-05-18 20:09:25 +01:00
22b5de09b4
added colours to EnchantParticle and InstantEnchantParticle, closes #3368
2020-05-18 20:00:51 +01:00