Dylan K. Taylor
79b5109953
Move some configuration constants to .. well .. constants
2021-12-15 01:40:29 +00:00
Dylan K. Taylor
4d37b79ff7
Server: fixed not being able to deop players whose names were added to ops.txt with uppercase letters in them
...
same as iTXTech/Genisys#1204
why didn't anyone report this???
2021-12-15 01:08:59 +00:00
Dylan K. Taylor
60938c8c9d
Random: fixed nextSignedInt() not actually returning signed ints
...
closes #4646
closes #4645
Impact assessment by core usage search and poggit suggests that the impact of this change will be close to zero.
However, since it changes behaviour which plugins might be unknowingly relying on, it's going into 4.1 rather than a patch release.
2021-12-15 00:59:10 +00:00
Dylan K. Taylor
49a8afd126
Merge branch 'next-minor' of github.com:pmmp/PocketMine-MP into next-minor
2021-12-14 23:16:40 +00:00
Dylan K. Taylor
dbad5dd611
Merge branch 'stable' into next-minor
2021-12-14 23:16:01 +00:00
Dylan K. Taylor
ea1fceece2
Merge branch 'legacy/pm3' into stable
2021-12-14 23:15:53 +00:00
Dylan K. Taylor
7fb1669c6d
php-cs-fixer: added binary_operator_spaces and unary_operator_spaces rules
2021-12-14 23:14:39 +00:00
Matthew Jordan
a41404bd8a
Allow gamemode strings for gamemode property in server.properties ( #4638 )
...
closes #2692
2021-12-14 22:56:22 +00:00
Dylan K. Taylor
4b06fe73f2
Merge branch 'stable' into next-minor
2021-12-14 22:54:39 +00:00
Dylan K. Taylor
929abb04be
Merge branch 'legacy/pm3' into stable
2021-12-14 22:54:17 +00:00
Dylan K. Taylor
a09817864b
php-cs-fixer: add return_type_declaration space_before
2021-12-14 22:50:43 +00:00
Dylan K. Taylor
45c4a9673d
Player: fixed arm swing animation not showing during attack cooldown of victim
...
closes #4650
2021-12-14 19:03:42 +00:00
Dylan K. Taylor
4ad8cb02a5
BlockIdentifier: ensure that the tile class given is valid
2021-12-14 17:36:25 +00:00
Dylan K. Taylor
1c6907c636
Merge branch 'stable' into next-minor
2021-12-14 01:27:21 +00:00
Dylan K. Taylor
7e6bbcc393
Sync composer deps
2021-12-14 01:27:11 +00:00
Dylan K. Taylor
7184c02bb6
Merge branch 'next-minor' of github.com:pmmp/PocketMine-MP into next-minor
2021-12-14 00:35:04 +00:00
Dylan K. Taylor
8a94aa10a4
Merge branch 'stable' into next-minor
2021-12-14 00:34:54 +00:00
Dylan K. Taylor
c334e6dec7
Updated locale-data dependency
2021-12-14 00:31:44 +00:00
dependabot[bot]
89a766b799
Bump fgrosse/phpasn1 from 2.3.1 to 2.4.0 ( #4644 )
...
Bumps [fgrosse/phpasn1](https://github.com/fgrosse/PHPASN1 ) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/fgrosse/PHPASN1/releases )
- [Changelog](https://github.com/fgrosse/PHPASN1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fgrosse/PHPASN1/compare/v2.3.1...v2.4.0 )
---
updated-dependencies:
- dependency-name: fgrosse/phpasn1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 21:39:44 +00:00
Dylan K. Taylor
7e99e5167c
Merge branch 'legacy/pm3' into stable
2021-12-13 12:36:26 +00:00
Dylan K. Taylor
f5bbd30dbb
Fixed skins appearing black when using RTX resource packs, closes #4537
2021-12-13 12:35:55 +00:00
Dylan K. Taylor
3be8472ae2
MemoryManager: fixed dumping of uninitialized properties
...
closes #4643
2021-12-13 12:11:49 +00:00
Dylan K. Taylor
22bb1ce8e0
4.0.3 is next
2021-12-12 23:27:54 +00:00
Dylan K. Taylor
178dcb71a9
Release 4.0.2
4.0.2
2021-12-12 23:27:50 +00:00
Dylan K. Taylor
0a58fd5472
GeneratorManager: fixed addGenerator() being case-sensitive when overwrite=true
...
this was caused by 083a1e1ff6b6ff5c0c1ba14250d2b026af103b90.
This was discovered by a new PHPStan rule I'm working on, which disallows overwriting the values of parameter variables. During the refactor of this function to correct the error, another error appeared: Variable might not be defined.
This is yet another excellent example of why mutability is bad.
2021-12-12 21:58:07 +00:00
Dylan K. Taylor
e06eefeab0
build/generate-known-translation-apis: fixed incorrect positional parameter order
...
closes #4639
2021-12-11 21:28:52 +00:00
Dylan K. Taylor
ede07c4314
Mark KnownTranslationKeys and KnownTranslationFactory as @internal
2021-12-11 21:24:18 +00:00
Dylan K. Taylor
cba00bf1e2
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable
2021-12-10 23:24:38 +00:00
Dylan K. Taylor
e81bee3866
ConsoleReaderThread: disable opcache for console reader subprocess
2021-12-10 23:24:18 +00:00
dependabot[bot]
e6b85988b2
Bump fgrosse/phpasn1 from 2.3.0 to 2.3.1 ( #4636 )
...
Bumps [fgrosse/phpasn1](https://github.com/fgrosse/PHPASN1 ) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/fgrosse/PHPASN1/releases )
- [Changelog](https://github.com/fgrosse/PHPASN1/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fgrosse/PHPASN1/compare/v2.3.0...v2.3.1 )
---
updated-dependencies:
- dependency-name: fgrosse/phpasn1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-10 22:37:28 +00:00
Dylan T
b50591303b
README: make shield show download count for 4.0.1, not 3.26.3
2021-12-10 20:23:48 +00:00
Leo Lee
9e75c1463a
Implement carving pumpkin ( #4637 )
2021-12-10 19:45:15 +00:00
Dylan K. Taylor
a94b88424e
Merge branch 'stable' into next-minor
2021-12-10 19:15:57 +00:00
Dylan K. Taylor
448f26cefc
SimpleCommandMap: do not strip backslashes from unquoted command arguments
2021-12-10 18:27:49 +00:00
Dylan K. Taylor
fa48100da5
PluginDescription: ensure base type of decoded document is actually an array
...
fixes #4628
2021-12-10 18:08:50 +00:00
Dylan K. Taylor
bcf8a3424c
Merge branch 'legacy/pm3' into stable
2021-12-10 18:02:06 +00:00
Dylan K. Taylor
69d5bfa0d4
3.26.4 is next
2021-12-10 17:55:11 +00:00
Dylan K. Taylor
549fb923bf
Release 3.26.3
3.26.3
2021-12-10 17:55:07 +00:00
Dylan K. Taylor
6d5c463bdd
PlayerExperienceChangeEvent: added range checks to setNewProgress()
...
WE FINALLY FUCKING FOUND IT
This took several years to identify because PHP's exception stack traces don't show the actual values of parameters, but rather the values of the variables they were assigned to.
This means that if the parameter variable is mutated, the exception trace will show the value of the variable inside the function, not the value that was actually passed.
2021-12-10 17:29:57 +00:00
Dylan K. Taylor
911ad344c9
Human: do not mutate parameter variables in setXpAndProgress()
...
this caused a mystery that took 3 entire years to debug.
2021-12-10 17:27:28 +00:00
Dylan K. Taylor
3b77462935
WritableBookBase: fixed crash when finding pages containing corrupted UTF-8 characters
...
maybe we should treat this as corrupted? but for now, it's consistent with how we deal with signs.
2021-12-10 16:39:13 +00:00
Dylan K. Taylor
6b40ed7bf8
Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable
2021-12-10 16:32:32 +00:00
Dylan K. Taylor
1ed9302f5a
ItemEntity: clone items given to the constructor directly
...
this fixes some bizarre mutability issues that occurred when using World->dropItem() with the same object multiple times.
2021-12-10 16:31:56 +00:00
Dylan T
b3dab0beef
readme: added total downloads & latest downloads badges
...
[ci skip]
2021-12-10 00:40:29 +00:00
Dylan K. Taylor
7ad1afee89
Merge branch 'next-minor' of github.com:pmmp/PocketMine-MP into next-minor
2021-12-09 13:54:06 +00:00
Dylan K. Taylor
292827a311
Switch to PlayerAuthInputPacket for movement handling
...
sticking with the non-rewind version for now, for simplicity's sake.
We do want the rewind version at some point for server side knockback, but that's a job for later.
For now, using this packet fixes various problems with slightly-incorrect positions and rotations (e.g. AimTP no longer requires you to jump to get the exact correct rotation; previously it would hit the wrong block at long distances due to errors of a fraction of a degree due to the client not sending its position.
Note that this might cause some performance degradation since the packet is sent every tick. This has yet to be assessed, but the advantages offered are undeniable in any case.
2021-12-09 13:53:53 +00:00
Matthew Jordan
f8ed23cc1e
ClearCommand: Add OffHandInventory to $inventories ( #4631 )
2021-12-09 11:19:33 +00:00
Dylan K. Taylor
6ddaed97fa
4.0.2 is next
2021-12-09 00:48:45 +00:00
Dylan K. Taylor
036b90d247
Release 4.0.1
4.0.1
2021-12-09 00:48:42 +00:00
Dylan K. Taylor
d909cd8a91
Merge branch 'legacy/pm3' into stable
2021-12-09 00:33:05 +00:00