Multiple fixes [SEE DESC]
- Removed two random block handling files in the item handling section that didn't do anything. (One was an attempt at making slabs work, but failed to realise that the coords would have to be the block CLICKED, and another was just a random empty file for handling wooden planks.) * Fixed placing repeater blocks not directioning properly * Fixed wood directions breaking plank metadata
This commit is contained in:
@@ -31,11 +31,9 @@
|
||||
#include "ItemShears.h"
|
||||
#include "ItemShovel.h"
|
||||
#include "ItemSign.h"
|
||||
#include "ItemSlab.h"
|
||||
#include "ItemSpawnEgg.h"
|
||||
#include "ItemSugarcane.h"
|
||||
#include "ItemSword.h"
|
||||
#include "ItemWood.h"
|
||||
|
||||
#include "../Blocks/BlockHandler.h"
|
||||
|
||||
@@ -143,18 +141,6 @@ cItemHandler *cItemHandler::CreateItemHandler(int a_ItemType)
|
||||
return new cItemSwordHandler(a_ItemType);
|
||||
}
|
||||
|
||||
case E_BLOCK_STONE_SLAB:
|
||||
case E_BLOCK_WOODEN_SLAB:
|
||||
{
|
||||
return new cItemSlabHandler(a_ItemType);
|
||||
}
|
||||
|
||||
case E_BLOCK_LOG:
|
||||
case E_BLOCK_PLANKS:
|
||||
{
|
||||
return new cItemWoodHandler(a_ItemType);
|
||||
}
|
||||
|
||||
case E_ITEM_BUCKET:
|
||||
case E_ITEM_WATER_BUCKET:
|
||||
case E_ITEM_LAVA_BUCKET:
|
||||
|
||||
Reference in New Issue
Block a user