0
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-05-30 12:30:44 +00:00

Commit Graph

  • 9e7e76a609 Fix PHPStan Dylan K. Taylor 2025-02-17 02:01:52 +00:00
  • b1e4e44f77 Ensure overloaded members can't conflict with static ones and vice versa Dylan K. Taylor 2025-02-17 01:58:08 +00:00
  • f4f31b654b Generate parameter name Dylan K. Taylor 2025-02-17 01:56:13 +00:00
  • c58c64de85 Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-02-17 01:26:25 +00:00
  • 799dfecdd9 typo Dylan K. Taylor 2025-02-17 01:13:18 +00:00
  • 1415e2492a First look at enum-overloaded registry members this allows us to reference registry members with dynamic enum cases, which has a lot of potential applications. Dylan K. Taylor 2025-02-17 00:57:32 +00:00
  • 51cf6817b1 World: fixed overflow checks for getCollisionBlocks(), closes #6630 Dylan K. Taylor 2025-02-16 23:24:39 +00:00
  • 694aa17cc9 Merge branch 'minor-next' into major-next Dylan K. Taylor 2025-02-16 23:18:56 +00:00
  • fd04894a7b Merge branch 'stable' of github.com:pmmp/PocketMine-MP into minor-next Dylan K. Taylor 2025-02-16 23:18:34 +00:00
  • d2d6a59c72 ItemDeserializer: fix doc comment typo Dylan K. Taylor 2025-02-16 22:52:11 +00:00
  • 788ee9a008 Allow overriding deserializers for block and item IDs there's no technical reason not to support this, since it doesn't violate any assumptions and the type returned is a base anyway. Dylan K. Taylor 2025-02-16 22:49:40 +00:00
  • 34f801ee3c 5.25.1 is next pmmp-admin-bot[bot] 2025-02-16 22:18:20 +00:00
  • d96ef21c4d Prepare 5.25.0 release (#6631) 5.25.0 Dylan T. 2025-02-16 22:16:47 +00:00
  • 246c1776df InventoryAction: avoid throwaway Item clones Dylan K. Taylor 2025-02-16 21:47:35 +00:00
  • 03e4b53ac4 BedrockDataFiles: added constants for folders as well as files we probably should have it recurse too, but this is an easy win. Dylan K. Taylor 2025-02-16 20:57:16 +00:00
  • 91ac64783f Bedrock 1.21.60 (#6627) Dries C 2025-02-16 21:51:53 +01:00
  • 9402a20ee3 Update Utils::getOS() doc comment Dylan T. 2025-02-16 16:12:29 +00:00
  • c9441e1078 Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-02-12 02:16:01 +00:00
  • 2670e81668 Merge branch 'stable' of github.com:pmmp/PocketMine-MP into minor-next Dylan K. Taylor 2025-02-12 02:14:51 +00:00
  • e29aa2f337 Added resin material color (#6622) ipad54 2025-02-11 19:15:42 +03:00
  • 5ef89200c6 Bump phpstan/phpstan in the development-patch-updates group (#6620) dependabot[bot] 2025-02-10 22:14:30 +00:00
  • b0ac8863c4 Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-02-07 01:23:45 +00:00
  • 9b3b45258a Optimise collision box checks by caching some basic info (#6606) Dylan T. 2025-02-06 15:42:10 +00:00
  • e9df0baffb Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into major-next Dylan K. Taylor 2025-02-05 01:37:00 +00:00
  • 0b2a8d27f3 Update SurvivalBlockBreakHandler.php Dylan T. 2025-02-04 16:48:33 +00:00
  • 49aa1986bb Merge branch 'major-next' into inventory-rework Dylan T. 2025-02-04 16:47:18 +00:00
  • ca4debbf08 Merge 'stable' into 'minor-next' pmmp-admin-bot[bot] 2025-02-04 01:22:15 +00:00
  • 39e69276a1 Bump tests/plugins/DevTools from c6dca35 to a030d39 (#6617) dependabot[bot] 2025-02-03 11:43:03 +00:00
  • 94797e3afa Bump build/php from ae94694 to 1549433 (#6616) dependabot[bot] 2025-02-03 11:42:37 +00:00
  • b3723b5b3e Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-02-03 01:23:13 +00:00
  • 03f98ee0a9 New version of NBT for performance improvements Dylan K. Taylor 2025-02-02 19:47:47 +00:00
  • 70368ea653 Merge branch 'stable' into minor-next Dylan K. Taylor 2025-02-02 19:47:03 +00:00
  • 9d6a0cc738 Update composer dependencies Dylan K. Taylor 2025-02-02 19:46:54 +00:00
  • 21ccd90147 ChunkCache: parameterize dimension ID (cc @Muqsit) Dylan K. Taylor 2025-02-02 19:43:04 +00:00
  • 0a9a45a126 Improve block break progress GameParrot 2025-02-02 19:30:29 +00:00
  • b370b5458f Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-02-02 01:26:09 +00:00
  • 88937f1785 Merge 'stable' into 'minor-next' pmmp-admin-bot[bot] 2025-02-02 01:26:08 +00:00
  • 07987890a0 Bump the github-actions group with 2 updates (#6613) dependabot[bot] 2025-02-01 13:38:25 +00:00
  • 8af2d05ec0 Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-01-28 01:21:44 +00:00
  • e5a783cb9e Merge 'stable' into 'minor-next' pmmp-admin-bot[bot] 2025-01-28 01:21:43 +00:00
  • 70fb9bbdfd ChorusPlant: fixed recalculateCollisionBoxes() depending on the world Dylan K. Taylor 2025-01-27 21:28:26 +00:00
  • f60120a75e Bump the development-patch-updates group with 3 updates (#6603) dependabot[bot] 2025-01-27 10:43:28 +00:00
  • 4d186b52da Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-01-23 01:22:04 +00:00
  • fc86d3a44e 5.24.1 is next pmmp-admin-bot[bot] 2025-01-22 20:50:42 +00:00
  • 393d7f72a9 5.24.0 5.24.0 Dylan T. 2025-01-22 20:49:38 +00:00
  • b625fee94b Prepare 5.24.0 release Dylan K. Taylor 2025-01-22 18:00:41 +00:00
  • 6b606dca95 UPnP: better fix for postURL error that doesn't require behavioural breaks Dylan K. Taylor 2025-01-22 17:46:43 +00:00
  • 406ddf3e53 Revert "Internet: make postURL() error reporting behaviour more predictable" Dylan K. Taylor 2025-01-22 17:44:23 +00:00
  • ec6077776a Merge branch 'minor-next' of github.com:pmmp/PocketMine-MP into minor-next Dylan K. Taylor 2025-01-22 16:45:49 +00:00
  • e6ff55823f Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-01-22 01:23:50 +00:00
  • f7b5cd7ff3 Merge 'stable' into 'minor-next' pmmp-admin-bot[bot] 2025-01-22 01:23:49 +00:00
  • 3453ff03fd 5.23.4 is next pmmp-admin-bot[bot] 2025-01-22 00:10:10 +00:00
  • 04e63172c3 5.23.3 (#6597) 5.23.3 Dylan T. 2025-01-22 00:08:49 +00:00
  • d556389b11 Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-01-18 01:19:33 +00:00
  • 51cb1875bb Merge 'stable' into 'minor-next' pmmp-admin-bot[bot] 2025-01-18 01:19:32 +00:00
  • 0b60a47cde Noteblock instrument changes from 1.21.50 (#6596) Dries C 2025-01-17 20:56:19 +01:00
  • d1066d0199 Bump build/php from 56cec11 to ae94694 (#6595) dependabot[bot] 2025-01-17 19:54:48 +00:00
  • 976fc63567 Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-01-10 01:26:17 +00:00
  • f349ce75e4 Player: add ability to get & set flight speed multiplier (#6076) Sergi del Olmo 2025-01-09 21:13:46 +01:00
  • 02ac512b4e Merge branch 'minor-next' into major-next Dylan K. Taylor 2025-01-08 15:25:12 +00:00
  • b3f15435cc Projectile: clean up dodgy code Dylan K. Taylor 2025-01-08 02:31:50 +00:00
  • 847ae26cad PHPStan: don't remember possibly-impure function return values I don't think we get much benefit from this, and the assumption that functions with a return value are pure is sketchy. In any case, it's better to avoid these repeated calls anyway. Dylan K. Taylor 2025-01-08 02:04:06 +00:00
  • d42ec06647 ZippedResourcePack: don't pass exception code to new exception this is a BUT (int|string) under PHPStan, and we don't need the errors. We don't care about this code anyway. Dylan K. Taylor 2025-01-08 01:48:55 +00:00
  • 5e0f03dff0 Stub PalettedBlockArray functions that work with arrays and workaround PHPStan stupidity Dylan K. Taylor 2025-01-08 01:48:15 +00:00
  • 4a83920db9 PlayerPreLoginEvent: improve array type info Dylan K. Taylor 2025-01-08 01:47:04 +00:00
  • 0a16daa619 Avoid dodgy array_flip hash building the conventional way is using array_keys and array_fill_keys. Behaviour is more predictable & also avoids benevolent union fuckery from PHPStan. Dylan K. Taylor 2025-01-08 01:45:28 +00:00
  • e34f34f9f4 Update BedrockProtocol dependency Dylan K. Taylor 2025-01-07 23:09:28 +00:00
  • e8c4b743b5 LevelDB: stop overriding types from NBT NBT has better quality type info already Dylan K. Taylor 2025-01-07 22:54:10 +00:00
  • 689a7996b9 Update NBT dependency Dylan K. Taylor 2025-01-07 22:51:38 +00:00
  • 794641c0f8 Utils: split some horrifying code across multiple lines Dylan K. Taylor 2025-01-07 22:35:19 +00:00
  • 9633b7d8a7 Update to PHPStan 2.x Dylan K. Taylor 2025-01-07 22:34:43 +00:00
  • d25ec58a6f AsyncPoolTest: phpdoc Dylan K. Taylor 2025-01-07 22:25:37 +00:00
  • d69a887b0d Utils: fix parameter doc for printableExceptionInfo() Dylan K. Taylor 2025-01-07 22:24:26 +00:00
  • 38441a6ba3 build: avoid weak comparison Dylan K. Taylor 2025-01-07 22:23:16 +00:00
  • 47cb04f6a6 tools: fix PHPStan 2.0 issues Dylan K. Taylor 2025-01-07 22:15:50 +00:00
  • b1c7fc017a CS Dylan K. Taylor 2025-01-07 22:13:20 +00:00
  • cd59e272bc PHPStan 2.0 fixes Dylan K. Taylor 2025-01-07 22:10:42 +00:00
  • 7b1b35ab1f generator: fixup issues reported by PHPStan 2.0 Dylan K. Taylor 2025-01-07 22:07:38 +00:00
  • 28d31c97f8 Server: fixup PHPStan 2.x reported issues Dylan K. Taylor 2025-01-07 22:05:01 +00:00
  • 708784b0a2 Merge 'minor-next' into 'major-next' pmmp-admin-bot[bot] 2025-01-07 01:24:48 +00:00
  • a17512de93 Command: don't trust plugins not to pass junk Dylan K. Taylor 2025-01-06 23:26:13 +00:00
  • 601be3fb33 stfu Dylan K. Taylor 2025-01-06 23:09:26 +00:00
  • 2e32c50670 NetworkSession: apparently aliases are already a list at this point??? Dylan K. Taylor 2025-01-06 23:08:48 +00:00
  • d1fa6edc50 InGamePacketHandler: fix weak comparisons Dylan K. Taylor 2025-01-06 23:08:18 +00:00
  • a1ba8bc3da NetworkSession: improve PHPDoc types Dylan K. Taylor 2025-01-06 23:07:54 +00:00
  • 73edb8799d SignalHandler: fixed dodgy setup logic Dylan K. Taylor 2025-01-06 23:06:19 +00:00
  • 9592f066f3 PHPDoc: Restrict ReversePriorityQueue to numeric priorities Dylan K. Taylor 2025-01-06 23:05:49 +00:00
  • db9ba83001 Make some assumptions about proc_open() Dylan K. Taylor 2025-01-06 23:05:06 +00:00
  • 1b2d2a3fe1 plugin: improve PHPDocs and type compliance Dylan K. Taylor 2025-01-06 23:04:00 +00:00
  • 84ec8b7abe Removed dead error patterns I do think these are PHPStan bugs, since the trait should inherit the parent class's doc comment But for the sake of catching more bugs, these doc comments have been manually added anyway. Dylan K. Taylor 2025-01-06 23:02:18 +00:00
  • 357dfb5c7e Fixed build Dylan K. Taylor 2025-01-06 23:01:14 +00:00
  • 0358b7dce4 utils: avoid weak comparisons Dylan K. Taylor 2025-01-06 22:53:35 +00:00
  • 97c5902ae2 Internet: make postURL() error reporting behaviour more predictable err is now always set to null when doing a new operation. Dylan K. Taylor 2025-01-06 22:52:05 +00:00
  • 9a130bce32 Config: remove bad assumptions about string root keys these could just as easily be integers and the code should still work. Dylan K. Taylor 2025-01-06 22:50:25 +00:00
  • 20849d6268 Fixed potential crashes in type ID tests if the constants had any non-stringable values, these would blow up. this would still be fine in the sense that the tests would fail, but better that they fail gracefully if possible. Dylan K. Taylor 2025-01-06 22:48:22 +00:00
  • b6bd3ef30c Improve PHPDocs in world package Dylan K. Taylor 2025-01-06 22:46:16 +00:00
  • c5a1c15389 TimingsCommand: beware crash on invalid timings server response Dylan K. Taylor 2025-01-06 22:44:04 +00:00
  • e30ae487dc SimpleCommandMap: ensure we always pass a list to Command::setAliases() some offsets may have been removed if the alias failed to be registered. Dylan K. Taylor 2025-01-06 22:43:34 +00:00
  • 59f6c85105 Command: mark execute $args as being list<string> Dylan K. Taylor 2025-01-06 22:42:57 +00:00
  • 90f0b85d2e Eliminate weak comparisons in entity package Weak comparisons were used in cases when we were worried about comparing int and float. Dylan K. Taylor 2025-01-06 22:41:00 +00:00