mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
reverse unnecessary formatting changes
This commit is contained in:
parent
e60962c31f
commit
29cc9283f8
@ -2721,7 +2721,6 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
if(!$this->spawned or !$this->isAlive()){
|
if(!$this->spawned or !$this->isAlive()){
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if($packet->action === InteractPacket::ACTION_MOUSEOVER and $packet->target === 0){
|
if($packet->action === InteractPacket::ACTION_MOUSEOVER and $packet->target === 0){
|
||||||
//TODO HACK: silence useless spam (MCPE 1.8)
|
//TODO HACK: silence useless spam (MCPE 1.8)
|
||||||
//this packet is EXPECTED to only be sent when interacting with an entity, but due to some messy Mojang
|
//this packet is EXPECTED to only be sent when interacting with an entity, but due to some messy Mojang
|
||||||
@ -3825,6 +3824,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
|||||||
$this->addWindow($this->cursorInventory, ContainerIds::UI, true);
|
$this->addWindow($this->cursorInventory, ContainerIds::UI, true);
|
||||||
|
|
||||||
$this->craftingGrid = new CraftingGrid($this, CraftingGrid::SIZE_SMALL);
|
$this->craftingGrid = new CraftingGrid($this, CraftingGrid::SIZE_SMALL);
|
||||||
|
|
||||||
//TODO: more windows
|
//TODO: more windows
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -40,7 +40,6 @@ class CraftingGrid extends BaseInventory{
|
|||||||
public $offset;
|
public $offset;
|
||||||
/** @var Player */
|
/** @var Player */
|
||||||
protected $holder;
|
protected $holder;
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $gridWidth;
|
private $gridWidth;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user