mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Merge branch 'next-major' into modern-world-support
This commit is contained in:
commit
f08f82edfd
@ -48,8 +48,8 @@ use function intdiv;
|
|||||||
* results, with no remainder. Any leftovers are expected to be emitted back to the crafting grid.
|
* results, with no remainder. Any leftovers are expected to be emitted back to the crafting grid.
|
||||||
*/
|
*/
|
||||||
class CraftingTransaction extends InventoryTransaction{
|
class CraftingTransaction extends InventoryTransaction{
|
||||||
protected ?CraftingRecipe $recipe;
|
protected ?CraftingRecipe $recipe = null;
|
||||||
protected ?int $repetitions;
|
protected ?int $repetitions = null;
|
||||||
|
|
||||||
/** @var Item[] */
|
/** @var Item[] */
|
||||||
protected array $inputs = [];
|
protected array $inputs = [];
|
||||||
|
@ -30,7 +30,7 @@ use function error_reporting;
|
|||||||
trait CommonThreadPartsTrait{
|
trait CommonThreadPartsTrait{
|
||||||
/** @var \Threaded|\ClassLoader[]|null */
|
/** @var \Threaded|\ClassLoader[]|null */
|
||||||
private ?\Threaded $classLoaders = null;
|
private ?\Threaded $classLoaders = null;
|
||||||
protected ?string $composerAutoloaderPath;
|
protected ?string $composerAutoloaderPath = null;
|
||||||
|
|
||||||
protected bool $isKilled = false;
|
protected bool $isKilled = false;
|
||||||
|
|
||||||
|
@ -28,8 +28,8 @@ use pocketmine\world\format\Chunk;
|
|||||||
use pocketmine\world\format\SubChunk;
|
use pocketmine\world\format\SubChunk;
|
||||||
|
|
||||||
class SubChunkExplorer{
|
class SubChunkExplorer{
|
||||||
public ?Chunk $currentChunk;
|
public ?Chunk $currentChunk = null;
|
||||||
public ?SubChunk $currentSubChunk;
|
public ?SubChunk $currentSubChunk = null;
|
||||||
|
|
||||||
protected int $currentX;
|
protected int $currentX;
|
||||||
protected int $currentY;
|
protected int $currentY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user