Commit Graph

118 Commits

Author SHA1 Message Date
Dylan K. Taylor
0975da57d6 Removed obsolete pthreads-related ignoreErrors 2023-01-26 14:51:18 +00:00
Dylan K. Taylor
f56339c306 Fix build 2023-01-26 14:48:43 +00:00
Dylan K. Taylor
950eddf405 Fix build 2023-01-13 17:57:41 +00:00
Dylan K. Taylor
2da9b76452 Added translatable descriptions for permissions 2022-12-27 20:29:38 +00:00
Dylan K. Taylor
f8cc015c51 Merge branch 'next-minor' into next-major 2022-12-23 16:58:59 +00:00
Dylan K. Taylor
2a33c9ed3b Fix PHPStan 2022-12-22 16:53:14 +00:00
Dylan K. Taylor
68e862b6fa Scrub PHPStan baselines (next-major) 2022-11-04 20:53:20 +00:00
Dylan K. Taylor
c915334c2b Merge branch 'next-minor' into next-major 2022-11-04 20:51:49 +00:00
Dylan K. Taylor
ed452b9ccd Scrub PHPStan baselines 2022-11-04 20:51:22 +00:00
Dylan K. Taylor
bd01a919e5 Move command timings to Timings::
this avoids duplicate timings entries when command labels are changed and changed back, or if multiple command maps are in use.
In addition, it also solves some PHPStan issues :)
2022-10-16 16:57:10 +01:00
Dylan K. Taylor
8dc0d506f4 Merge branch 'next-minor' into next-major 2022-10-11 22:29:21 +01:00
ShockedPlot7560
22486dd75e Mushroom: check the light for placement, unless placed on mycelium or podzol (#5054)
The previous behaviour was inconsistent with vanilla.
2022-09-28 18:41:23 +01:00
Dylan K. Taylor
37ec1193ea Update PHPStan baselines 2022-09-28 18:34:01 +01:00
Dylan K. Taylor
f80ffd8de0 Merge branch 'next-minor' into next-major 2022-09-15 13:59:21 +01:00
Dylan K. Taylor
85678aa356 phpstan 1.8.3 2022-09-02 18:28:33 +01:00
Dylan K. Taylor
2d2df22ee7 Ignore some PHPStan errors 2022-07-20 20:47:34 +01:00
Dylan K. Taylor
dea0207e4e Merge branch 'next-minor' into next-major 2022-07-13 17:06:04 +01:00
Dylan K. Taylor
06655bee78 Updated to 1.19.10 2022-07-13 00:59:49 +01:00
Dylan K. Taylor
9f0b32e748 Updated creative and crafting data to 1.19 2022-07-04 20:28:07 +01:00
Dylan K. Taylor
bedc9cf518 Item::jsonDeserialize(): remove bogus phpdoc (we don't actually know if this is even valid) 2022-06-27 14:30:12 +01:00
Dylan K. Taylor
04b855235a Merge branch 'next-major' into modern-world-support 2022-06-24 01:35:46 +01:00
Dylan K. Taylor
caa4b78a3f Update composer dependencies 2022-06-21 20:21:02 +01:00
Dylan K. Taylor
03c505aaa7 Merge branch 'next-major' into modern-world-support 2022-05-22 16:21:48 +01:00
Dylan K. Taylor
179cac45f5 Merge branch 'stable' into next-minor 2022-05-22 16:21:05 +01:00
Dylan K. Taylor
0324392cd8 Clean PHPStan baseline 2022-05-21 17:12:47 +01:00
Dylan K. Taylor
fcb2ccab99 NetworkSession: Sync all attributes on respawn 2022-05-21 16:22:35 +01:00
Dylan K. Taylor
f67104c81e Merge branch 'next-major' into modern-world-support 2022-05-20 17:50:38 +01:00
ShockedPlot7560
6482aa7c64 Block: introduce logic for face support types (#4886)
fixes #4856
fixes #458
fixes #4529
fixes #3299

Added API method Block::getSupportType(Facing) : SupportType
Added SupportType enum
fixes torch, lantern, door etc. placement on slabs and upside-down stairs
2022-05-20 15:18:34 +01:00
Dylan K. Taylor
60d3bddfbc Merge branch 'next-major' into modern-world-support 2022-05-11 13:14:42 +01:00
Dylan K. Taylor
3e1246acff FormattedCommandAlias: Invoke commands directly with pre-parsed arguments
this resolves a range of issues with quoted arguments when using placeholders, as well as improving performance (no redundant combine -> re-parse needed).
2022-05-10 16:03:09 +01:00
Dylan K. Taylor
3edb735850 Regenerate PHPStan baseline 2022-04-15 19:12:08 +01:00
Dylan K. Taylor
194cb1fb84 phpstan 1.5.1 2022-03-28 17:12:00 +01:00
Dylan K. Taylor
8efa299c65 phpstan 1.4.8 2022-03-09 18:30:54 +00:00
Dylan K. Taylor
1948b00008 Merge branch 'stable' into next-minor 2022-01-07 21:51:05 +00:00
Dylan K. Taylor
b4e1871899 Updated PHPStan baseline 2022-01-07 21:49:49 +00:00
Dylan K. Taylor
dbbbc4f9c9 updated phpstan baseline 2022-01-07 21:39:19 +00:00
Dylan T
fc3a6c6984 Implemented fire spread (#4617) 2021-12-16 23:36:34 +00:00
Dylan K. Taylor
5b868e6d5e Merge branch 'stable' into next-minor 2021-12-08 19:40:25 +00:00
Dylan K. Taylor
889d048ca3 Make use of Utils::assumeNotFalse() in a bunch of places
I've stuck to only doing this in the places where I'm sure we should never get false back. Other places I'm less sure of (and I found more bugs along the way).
2021-12-08 19:39:04 +00:00
Dylan K. Taylor
8b73549355 Use JSON_THROW_ON_ERROR for json_encode() and json_decode() 2021-12-08 19:14:07 +00:00
Dylan K. Taylor
3d9e19546f EntityShootBowEvent: fixed incorrect field type 2021-12-07 23:35:45 +00:00
Dylan K. Taylor
f239b077b9 Fixed PHPStan complaints 2021-11-30 00:36:38 +00:00
Dylan K. Taylor
bb7683158f Remove dead ignoreErrors patterns 2021-11-24 23:52:51 +00:00
Dylan K. Taylor
84f8b3eb2d Move CrashDump to pocketmine\crash namespace 2021-11-04 19:23:45 +00:00
Dylan K. Taylor
15fca84f3b remove some PHPStan error patterns 2021-11-04 19:22:49 +00:00
Dylan K. Taylor
54442f7e4b Merge branch 'stable' 2021-11-01 21:18:35 +00:00
Dylan K. Taylor
5257755dc5 shut 2021-11-01 21:15:58 +00:00
Dylan K. Taylor
f827a555d5 Merge branch 'stable' 2021-11-01 18:13:24 +00:00
Dylan K. Taylor
794142fe49 Merge l7/l8/l9 baselines into actual-problems
it doesn't serve any practical purpose to keep these separated, particularly since it's getting so difficult to figure out which errors are coming from which levels (since we always use 9, it doesn't really make any difference).
2021-11-01 17:27:31 +00:00
Dylan K. Taylor
ff27c5f7db PHPStan 1.0.0 2021-11-01 17:24:20 +00:00