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
|
||||
{
|
||||
if ((a_BlockMeta & 0x08) != 0) // is top part of door
|
||||
{
|
||||
return;
|
||||
}
|
||||
switch (m_BlockType)
|
||||
{
|
||||
case E_BLOCK_WOODEN_DOOR:
|
||||
|
Loading…
Reference in New Issue
Block a user