FIXED ID MATCHING THE LCE

This commit is contained in:
Lord Cambion
2026-03-19 23:06:22 +01:00
parent 8c6da7ea22
commit 82a95d6683
4 changed files with 41 additions and 26 deletions
+1 -1
View File
@@ -339,7 +339,7 @@ int DoorTile::getCompositeData(LevelSource *level, int x, int y, int z)
int DoorTile::cloneTileId(Level *level, int x, int y, int z)
{
return material == Material::metal ? Item::door_iron_Id : Item::door_wood_Id;
return doorItemMap[doorType];
}
void DoorTile::playerWillDestroy(Level *level, int x, int y, int z, int data, shared_ptr<Player> player)