Further attempt at fixing torch placements
Also fixed block on flower placement. #71
This commit is contained in:
parent
deeb3a15dc
commit
baae26ab22
@ -32,7 +32,7 @@ public:
|
||||
|
||||
virtual bool DoesAllowBlockOnTop(void) override
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
|
@ -111,17 +111,17 @@ public:
|
||||
{
|
||||
switch (a_BlockType)
|
||||
{
|
||||
case E_BLOCK_GLASS:
|
||||
case E_BLOCK_FENCE:
|
||||
case E_BLOCK_NETHER_BRICK_FENCE:
|
||||
case E_BLOCK_PISTON:
|
||||
case E_BLOCK_WORKBENCH:
|
||||
{
|
||||
//case E_BLOCK_GLASS:
|
||||
//case E_BLOCK_FENCE:
|
||||
//case E_BLOCK_NETHER_BRICK_FENCE:
|
||||
//case E_BLOCK_PISTON:
|
||||
//case E_BLOCK_IRON_BARS
|
||||
if ( g_BlockIsSolid[a_BlockType] {
|
||||
return (a_Direction == 0x1); // allow only direction "standing on floor"
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
else {
|
||||
//default:
|
||||
//{
|
||||
return g_BlockIsSolid[a_BlockType];
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user