Commit Graph

  • 25cca1b63f Changes for 1.20.50 Dylan K. Taylor 2023-12-06 14:29:23 +00:00
  • 15574ec99a Update composer dependencies Dylan K. Taylor 2023-12-06 14:28:14 +00:00
  • 2420dee8be AsyncTask: Fix retrieval of null data from the thread-local storage (#6176) TheNewHEROBRINE 2023-12-06 14:40:09 +01:00
  • bd65948453 Bump phpstan/phpstan from 1.10.46 to 1.10.47 (#6189) dependabot[bot] 2023-12-06 13:29:40 +00:00
  • 0984aa670d Bump phpstan/phpstan from 1.10.44 to 1.10.46 (#6182) dependabot[bot] 2023-11-29 16:33:04 +00:00
  • 239f9ed83a Bump shivammathur/setup-php from 2.27.1 to 2.28.0 (#6179) dependabot[bot] 2023-11-29 16:32:42 +00:00
  • b2df405cc0 NetworkSession: Send less information to clients on error disconnects in particular, the information from VerifyLoginTask shouldn't be sent to clients, as it could contain sensitive information. This change only affects disconnection screens. The server log shows the same amount of information as before (though formatted differently in some cases). Dylan K. Taylor 2023-11-29 16:31:59 +00:00
  • d596dc571d Fix pitcher pod wrongly registered as a block (#6162) ace 2023-11-27 22:46:20 +08:00
  • bc11894f0a Bump build/php from 6b4c9c7 to b0ffbdb (#6178) dependabot[bot] 2023-11-27 11:01:36 +00:00
  • d51475dc72 Bump docker/build-push-action from 5.0.0 to 5.1.0 (#6169) dependabot[bot] 2023-11-24 16:31:34 +00:00
  • 233c8b746d Bump phpstan/phpstan from 1.10.41 to 1.10.44 (#6172) dependabot[bot] 2023-11-24 16:31:18 +00:00
  • c1f0f13d5a Add PHP 8.3 to test matrix Dylan K. Taylor 2023-11-24 16:29:11 +00:00
  • 06e2d36294 Bump build/php from 19f2ee6 to 6b4c9c7 (#6171) dependabot[bot] 2023-11-22 11:06:32 +00:00
  • a1748a92ca Avoid unnecessary TypeConverter::getInstance() calls we already have it available within these contexts Dylan K. Taylor 2023-11-17 14:00:25 +00:00
  • fbcf4649eb Avoid unnecessary Entity::getWorld() calls in loops Dylan K. Taylor 2023-11-17 13:58:41 +00:00
  • 0f620fad94 ChunkCache: inline unnecessary function Dylan K. Taylor 2023-11-17 13:30:44 +00:00
  • 67ad2bad17 World: fixed edge case that could lead to crash during block update sending Dylan K. Taylor 2023-11-17 13:24:06 +00:00
  • bc07778434 Avoid unnecessary CompressBatchPromise allocations for sync-prepared batches Sync-prepared batches account for the vast majority of outbound packets. Avoiding these useless objects further reduces the overhead of zero-compressed packets, as the creation of these objects is a significant part of the overhead for these cases. Dylan K. Taylor 2023-11-17 12:35:42 +00:00
  • 519784460f Merge branch 'stable' into minor-next Dylan K. Taylor 2023-11-17 12:04:10 +00:00
  • a25597ca30 Server: updated documentation for prepareBatch() Dylan K. Taylor 2023-11-17 12:01:19 +00:00
  • 89fbb3fd0d Fix loading of Item Frame item rotation (#6123) ace 2023-11-16 18:16:29 +08:00
  • e9c5846a06 World: simplify condition Dylan K. Taylor 2023-11-16 10:06:43 +00:00
  • 3d790e3e4b Merge remote-tracking branch 'origin/minor-next' into compressor-threads compressor-threads Dylan K. Taylor 2023-11-16 09:50:19 +00:00
  • 886ed60e6a Bump build/php from 3c3c483 to 19f2ee6 (#6163) dependabot[bot] 2023-11-16 09:39:26 +00:00
  • 8f107e785b Bump dessant/support-requests from 3 to 4 (#6160) dependabot[bot] 2023-11-15 17:06:23 +00:00
  • 69f197dbec PluginBase: fixed erroneous replacement Dylan K. Taylor 2023-11-14 13:04:14 +00:00
  • 13f34a500c PluginBase: clean up inconsistent getter vs property access usages Dylan K. Taylor 2023-11-14 12:59:38 +00:00
  • e5c96faa4b Server: clean up inconsistent getter vs property access usages Dylan K. Taylor 2023-11-14 12:59:05 +00:00
  • dd98e4aaed block: clean up unnecessary getter usages with the assistance of a custom phpstan rule this inconsistent mess has been bothering me for a long time Dylan K. Taylor 2023-11-14 12:47:33 +00:00
  • e92923aa10 Remove debug timings Dylan K. Taylor 2023-11-13 15:08:34 +00:00
  • d35d9e6ecf Enable compression-threads by default Dylan K. Taylor 2023-11-13 15:07:38 +00:00
  • 671c65d787 Merge branch 'minor-next' into compressor-threads Dylan K. Taylor 2023-11-13 11:40:31 +00:00
  • e525699dd4 TimeTrackingSleeperHandler: record time spent in each Snooze handler Dylan K. Taylor 2023-11-13 11:35:39 +00:00
  • 0ad6429fee Fix RegistryTrait documentation (#6153) Amir Muazzam 2023-11-13 19:15:07 +08:00
  • 7e6550d05a Merge branch 'minor-next' into compressor-threads Dylan K. Taylor 2023-11-13 11:14:19 +00:00
  • 923c922960 Merge branch 'stable' into minor-next Dylan K. Taylor 2023-11-13 11:13:12 +00:00
  • 77590fb63a Server: fixed prepareBatch() not being marked as internal Dylan K. Taylor 2023-11-13 11:12:00 +00:00
  • 366968722f CompressorWorker: isolate thread body inside static function this prevents accidental access to shared properties, which would cost performance. Dylan K. Taylor 2023-11-13 10:50:33 +00:00
  • bd43ff6579 Update README.md Dylan T 2023-11-10 16:27:57 +00:00
  • c2189bc2df Update README.md Dylan T 2023-11-10 16:16:49 +00:00
  • 58ea94bab8 ... Dylan K. Taylor 2023-11-10 15:41:17 +00:00
  • 22b10e4cb0 Timings: Stop using BREAKDOWN group with tree timings, the breakdown is actually pretty annoying, since it makes it hard to find a timer in the aggregate lists. Dylan K. Taylor 2023-11-10 15:36:35 +00:00
  • c44758f36c StringToItemParser: added pitcher_plant and pitcher_pod it seems a bit weird to map pitcher_pod to PITCHER_CROP(). Perhaps this wasn't implemented correctly. Dylan K. Taylor 2023-11-10 15:26:02 +00:00
  • 7a4cf8ef68 Prepare for PHP 8.2 as primary version Dylan K. Taylor 2023-11-09 19:04:53 +00:00
  • 269b3d89a2 Update build/php submodule to pmmp/PHP-Binaries@39885cf248 Dylan K. Taylor 2023-11-09 19:03:12 +00:00
  • b3766834c6 Merge branch 'stable' into minor-next Dylan K. Taylor 2023-11-09 19:02:08 +00:00
  • 93699024da 5.8.3 is next Dylan K. Taylor 2023-11-09 18:51:20 +00:00
  • c3c81b09e8 Release 5.8.2 5.8.2 Dylan K. Taylor 2023-11-09 18:51:17 +00:00
  • 08f9873c32 Update build/php submodule to pmmp/PHP-Binaries@3c3c483baa Dylan K. Taylor 2023-11-09 18:30:03 +00:00
  • 9d75c45bf5 Merge branch 'minor-next' into major-next Dylan K. Taylor 2023-11-09 18:06:06 +00:00
  • 135fe149f0 Merge branch 'minor-next' into compressor-threads Dylan K. Taylor 2023-11-09 18:05:57 +00:00
  • 50592dc269 Merge branch 'stable' into minor-next Dylan K. Taylor 2023-11-09 18:05:38 +00:00
  • e3700cab50 ZlibCompressor: use libdeflate for level 0 compression this is supported since libdeflate 1.15 and ext-libdeflate 0.2.0. Everyone should be using these versions by now anyway, and if they aren't, they should update. Dylan K. Taylor 2023-11-09 18:05:07 +00:00
  • 94023b48e5 Added more timings Dylan K. Taylor 2023-11-09 14:55:26 +00:00
  • ff47da6675 Merge remote-tracking branch 'origin/minor-next' into compressor-threads Dylan K. Taylor 2023-11-09 14:41:24 +00:00
  • 4103631bc1 Added Smithing Template items (#6132) pandaa-be 2023-11-09 15:25:49 +01:00
  • c1ed182112 Fix loading of sign text from vanilla world (#6122) ace 2023-11-09 22:22:37 +08:00
  • 5f3a2a5096 BlockStateUpgrader: fixed undefined array key when flattening a block whose new ID is the same as the old this came up during 1.20.50 testing, where minecraft:stone[stone_type=stone] continues to have an ID minecraft:stone without the stone_type property. This could have appeared in other ways, such as with an invalid legacy blockstate. Dylan K. Taylor 2023-11-08 18:52:22 +00:00
  • 8ccaf907d1 tools/generate-blockstate-upgrade-schema: do not optimize state remaps with unchanged IDs processRemappedStates() needs to know about the full set of states to generate reliable mappings. Without it, it may generate flattening rules or state matching criteria that unintentionally match states that it's not aware of. Sadly, this does make some schemas bigger, but it's for the best. Dylan K. Taylor 2023-11-08 15:18:46 +00:00
  • 6b5c405939 Bump shivammathur/setup-php from 2.26.0 to 2.27.1 (#6142) dependabot[bot] 2023-11-08 12:06:43 +00:00
  • d09af2e30d World: don't assume that random Vector3 are int vectors we can safely assume this for blocks (though the type info doesn't reflect it) but this is not safe to assume for random APIs that might be used by plugins. Dylan K. Taylor 2023-11-06 17:15:17 +00:00
  • bbe66e8e09 Block: Improve performance of encodeFullState() if there's no state data to encode, we can avoid useless calls and object allocations. For the best cases (blocks which don't use state data at all) this improves the performance of getStateId() by more than 10x. Blocks which use one or the other benefit by a smaller but still significant margin. Dylan K. Taylor 2023-11-06 17:04:39 +00:00
  • 457660235e Crops must have access to a light level of at least 9 Dylan K. Taylor 2023-11-06 16:02:57 +00:00
  • 9fc9609694 Fix ancient debris not being fireproof (#6138) ipad54 2023-11-06 18:01:43 +03:00
  • 1055b7580a Bump phpstan/phpstan from 1.10.40 to 1.10.41 (#6139) dependabot[bot] 2023-11-06 15:00:06 +00:00
  • 3385087c56 Fix Iron & Gold ores not affected by fortune (#6134) ipad54 2023-11-04 13:57:53 +03:00
  • d3b7861d1a Constify bootstrap options Dylan K. Taylor 2023-11-02 16:15:57 +00:00
  • a6b36d6c3c CropGrowthHelper: avoid unnecessary checks Dylan K. Taylor 2023-11-02 15:32:22 +00:00
  • 109673382d Implemented modifiers for crop growth speed closes #6070 Dylan K. Taylor 2023-11-02 15:16:11 +00:00
  • 1e4a1565bb Stem: fixed not attaching to grown pumpkin/melon no idea how this got missed ... Dylan K. Taylor 2023-11-02 14:48:45 +00:00
  • 8aaa6dd176 Stem: do not disable ticking when the stem is not attached to a pumpkin fixes #6131 Dylan K. Taylor 2023-11-02 14:47:55 +00:00
  • c7a537abbb Merge branch 'minor-next' into major-next Dylan K. Taylor 2023-11-01 18:03:04 +00:00
  • 07dff9c9e8 5.8.2 is next Dylan K. Taylor 2023-11-01 17:55:23 +00:00
  • 75a39491be Release 5.8.1 5.8.1 Dylan K. Taylor 2023-11-01 17:55:22 +00:00
  • a10e4b6481 Merge branch 'minor-next' into stable Dylan K. Taylor 2023-11-01 17:51:52 +00:00
  • 68c6b87678 5.8.1 is next Dylan K. Taylor 2023-11-01 17:49:56 +00:00
  • e20c031aa1 Release 5.8.0 Dylan K. Taylor 2023-11-01 17:49:53 +00:00
  • 54694df48c Merge branch 'minor-next' into major-next Dylan K. Taylor 2023-11-01 16:39:55 +00:00
  • 9832fe899f Merge branch 'stable' into minor-next Dylan K. Taylor 2023-11-01 16:39:44 +00:00
  • 55f3477ed9 5.7.2 is next Dylan K. Taylor 2023-11-01 16:37:46 +00:00
  • 2c17f82eb8 Release 5.7.1 5.7.1 Dylan K. Taylor 2023-11-01 16:37:46 +00:00
  • e6e2c54ec9 Fixed various reentrant-unsafe 2D array element unsets (similar to previous commit) this pattern was used in various places Dylan K. Taylor 2023-11-01 16:28:59 +00:00
  • abce512860 Merge branch 'stable' of github.com:pmmp/PocketMine-MP into stable Dylan K. Taylor 2023-11-01 16:13:44 +00:00
  • 0093732d49 PermissionManager: fixed non-reentrant-safe permission unsubscribing Dylan K. Taylor 2023-11-01 16:13:28 +00:00
  • 9eb2a46942 World: remove useless isChunkLoaded checks getChunkEntities() will return an empty array if the chunk isn't loaded anyway, so this is just wasting CPU cycles. Dylan K. Taylor 2023-11-01 15:53:37 +00:00
  • 1402571055 Bump phpstan/phpstan from 1.10.39 to 1.10.40 (#6126) dependabot[bot] 2023-11-01 15:26:46 +00:00
  • 34bb86d2bf Bump phpstan/phpstan-strict-rules from 1.5.1 to 1.5.2 (#6125) dependabot[bot] 2023-11-01 15:26:30 +00:00
  • aaa37baf2e handlerListe: reduce code complexity ShockedPlot7560 2023-10-27 22:28:04 +02:00
  • 243a3035ba follow up of #6110 ShockedPlot7560 2023-10-27 22:14:21 +02:00
  • 823d4ead6a inconsistency correction ShockedPlot7560 2023-10-27 22:12:03 +02:00
  • ca95b2f28d fix PHPStan ShockedPlot7560 2023-10-27 22:08:49 +02:00
  • cc6e8ef232 move the asynchronous registration of handlers to a dedicated PluginManager function ShockedPlot7560 2023-10-27 21:58:43 +02:00
  • 5beaa3ce4e correction of various problems ShockedPlot7560 2023-10-27 21:45:22 +02:00
  • 7e87fbbb7a clarifying the exception message ShockedPlot7560 2023-10-27 21:39:18 +02:00
  • ed739cff4f cannot call async event in sync context + remove Event dependency for AsyncEventDelegate ShockedPlot7560 2023-10-27 21:37:56 +02:00
  • dc85bba995 merge remote tracking ShockedPlot7560 2023-10-27 21:28:09 +02:00
  • 15aae721cd Merge branch 'minor-next' into major-next Dylan K. Taylor 2023-10-26 12:57:24 +01:00
  • b41960dfec Merge branch 'stable' into minor-next Dylan K. Taylor 2023-10-26 12:55:47 +01:00
  • 0b2fc84827 5.7.1 is next Dylan K. Taylor 2023-10-26 12:51:45 +01:00
  • 22b9e70372 Release 5.7.0 5.7.0 Dylan K. Taylor 2023-10-26 12:51:45 +01:00