1
0

Merge pull request #3897 from peterbell10/PlaceSound

cBlockInfo: Remove/deprecate place sound
This commit is contained in:
Tiger Wang
2017-08-13 12:37:37 +01:00
committed by GitHub
3 changed files with 62 additions and 16 deletions

View File

@@ -202,7 +202,7 @@ return
Type = "string",
},
},
Notes = "Returns the name of the sound that is played when placing the block of this type.",
Notes = "(<b>DEPRECATED</b>) Not used by cuberite internally and always returns an empty string.",
},
GetSpreadLightFalloff =
{
@@ -378,16 +378,6 @@ return
Type = "bool",
Notes = "Can a piston break this block?",
},
m_PlaceSound =
{
Type = "string",
Notes = "The name of the sound that is placed when a block is placed.",
},
m_RequiresSpecialTool =
{
Type = "bool",
Notes = "Does this block require a tool to drop?",
},
m_SpreadLightFalloff =
{
Type = "number",