mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Add EOF newlines where missing (bulk) (#1836)
This should solve issues with people making GitHub PRs and having the web editor messing things up. GitHub Web Editor sucks :(
This commit is contained in:
@ -61,4 +61,4 @@ class AnvilInventory extends ContainerInventory{
|
||||
|
||||
$this->dropContents($this->holder->getLevel(), $this->holder->add(0.5, 0.5, 0.5));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -28,4 +28,4 @@ class BigCraftingGrid extends CraftingGrid{
|
||||
public function getGridWidth() : int{
|
||||
return 3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -65,4 +65,4 @@ abstract class ContainerInventory extends BaseInventory{
|
||||
* @return int
|
||||
*/
|
||||
abstract public function getNetworkType() : int;
|
||||
}
|
||||
}
|
||||
|
@ -54,4 +54,4 @@ class CraftingGrid extends BaseInventory{
|
||||
public function sendContents($target) : void{
|
||||
//no way to do this
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -60,4 +60,4 @@ interface CraftingRecipe extends Recipe{
|
||||
* @return bool
|
||||
*/
|
||||
public function matchItems(array $input, array $output) : bool;
|
||||
}
|
||||
}
|
||||
|
@ -28,4 +28,4 @@ namespace pocketmine\inventory;
|
||||
*/
|
||||
abstract class CustomInventory extends ContainerInventory{
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -61,4 +61,4 @@ class EnchantInventory extends ContainerInventory{
|
||||
|
||||
$this->dropContents($this->holder->getLevel(), $this->holder->add(0.5, 0.5, 0.5));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,4 +66,4 @@ class EnderChestInventory extends ChestInventory{
|
||||
return $this->holder;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -47,4 +47,4 @@ abstract class EntityInventory extends BaseInventory{
|
||||
public function getHolder(){
|
||||
return parent::getHolder();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -37,4 +37,4 @@ class FakeBlockMenu extends Position implements InventoryHolder{
|
||||
public function getInventory(){
|
||||
return $this->inventory;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -66,4 +66,4 @@ class FurnaceRecipe implements Recipe{
|
||||
public function registerToCraftingManager(CraftingManager $manager) : void{
|
||||
$manager->registerFurnaceRecipe($this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -31,4 +31,4 @@ interface InventoryHolder{
|
||||
* @return Inventory
|
||||
*/
|
||||
public function getInventory();
|
||||
}
|
||||
}
|
||||
|
@ -41,4 +41,4 @@ class MultiRecipe{
|
||||
$this->uuid = $uuid;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -52,4 +52,4 @@ class PlayerCursorInventory extends BaseInventory{
|
||||
public function getHolder(){
|
||||
return $this->holder;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -33,4 +33,4 @@ interface Recipe{
|
||||
public function getResult() : Item;
|
||||
|
||||
public function registerToCraftingManager(CraftingManager $manager) : void;
|
||||
}
|
||||
}
|
||||
|
@ -190,4 +190,4 @@ class ShapelessRecipe implements CraftingRecipe{
|
||||
|
||||
return count($haveItems) === 0 and count($needItems) === 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -205,4 +205,4 @@ class CraftingTransaction extends InventoryTransaction{
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -291,4 +291,4 @@ class InventoryTransaction{
|
||||
public function hasExecuted() : bool{
|
||||
return $this->hasExecuted;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -56,4 +56,4 @@ class CraftingTakeResultAction extends InventoryAction{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -70,4 +70,4 @@ class CraftingTransferMaterialAction extends InventoryAction{
|
||||
public function onExecuteFail(Player $source) : void{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -82,4 +82,4 @@ class CreativeInventoryAction extends InventoryAction{
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -68,4 +68,4 @@ class DropItemAction extends InventoryAction{
|
||||
public function onExecuteFail(Player $source) : void{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -121,4 +121,4 @@ abstract class InventoryAction{
|
||||
*/
|
||||
abstract public function onExecuteFail(Player $source) : void;
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -121,4 +121,4 @@ class SlotChangeAction extends InventoryAction{
|
||||
public function onExecuteFail(Player $source) : void{
|
||||
$this->inventory->sendSlot($this->inventorySlot, $source);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user