Removed BlockEntities' constructors from the API.

Plugins shouldn't construct block entities, rather, they will query them either from the cWorld (while playing), or from cChunkDesc (while generating).
This commit is contained in:
madmaxoft
2013-11-15 09:49:56 +01:00
parent d665bc8806
commit ebb2ccaa26
14 changed files with 59 additions and 659 deletions
+1 -4
View File
@@ -33,12 +33,9 @@ class cSignEntity :
public:
/// Creates a new empty sign entity at the specified block coords and block type (wall or standing)
/// Used mainly by plugins while generating chunks
cSignEntity(BLOCKTYPE a_BlockType, int a_BlockX, int a_BlockY, int a_BlockZ);
// tolua_end
/// Creates a new empty sign entity at the specified block coords and block type (wall or standing). a_World may be NULL
cSignEntity(BLOCKTYPE a_BlockType, int a_X, int a_Y, int a_Z, cWorld * a_World);
bool LoadFromJson( const Json::Value& a_Value );