Fix duping doors (#1327)
This commit is contained in:
parent
f6f27a139e
commit
c12704183b
@ -55,6 +55,10 @@ public:
|
|||||||
|
|
||||||
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
virtual void ConvertToPickups(cItems & a_Pickups, NIBBLETYPE a_BlockMeta) override
|
||||||
{
|
{
|
||||||
|
if ((a_BlockMeta & 0x08) != 0) // is top part of door
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
switch (m_BlockType)
|
switch (m_BlockType)
|
||||||
{
|
{
|
||||||
case E_BLOCK_WOODEN_DOOR:
|
case E_BLOCK_WOODEN_DOOR:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user