CheckBasicStyle: Check number of empty lines between functions (#4267)
Add check for number of empty lines between functions and fix the corresponding failures
This commit is contained in:
@@ -587,7 +587,6 @@ void cSlotAreaCrafting::OnPlayerRemoved(cPlayer & a_Player)
|
||||
|
||||
|
||||
|
||||
|
||||
void cSlotAreaCrafting::SetSlot(int a_SlotNum, cPlayer & a_Player, const cItem & a_Item)
|
||||
{
|
||||
// Update the recipe after setting the slot, if the slot is not the result slot:
|
||||
@@ -614,6 +613,7 @@ void cSlotAreaCrafting::DistributeStack(cItem & a_ItemStack, cPlayer & a_Player,
|
||||
|
||||
|
||||
|
||||
|
||||
void cSlotAreaCrafting::ClickedResult(cPlayer & a_Player)
|
||||
{
|
||||
cItem & DraggingItem = a_Player.GetDraggingItem();
|
||||
@@ -757,6 +757,7 @@ cCraftingRecipe & cSlotAreaCrafting::GetRecipeForPlayer(cPlayer & a_Player)
|
||||
|
||||
|
||||
|
||||
|
||||
void cSlotAreaCrafting::HandleCraftItem(const cItem & a_Result, cPlayer & a_Player)
|
||||
{
|
||||
switch (a_Result.m_ItemType)
|
||||
@@ -1225,6 +1226,7 @@ cSlotAreaBeacon::~cSlotAreaBeacon()
|
||||
|
||||
|
||||
|
||||
|
||||
bool cSlotAreaBeacon::IsPlaceableItem(short a_ItemType)
|
||||
{
|
||||
switch (a_ItemType)
|
||||
@@ -2191,6 +2193,9 @@ void cSlotAreaBrewingstand::OnSlotChanged(cItemGrid * a_ItemGrid, int a_SlotNum)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// cSlotAreaMinecartWithChest:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user