From ebb2ccaa267116106002f358e18c5af58e13ec34 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 15 Nov 2013 09:36:43 +0100 Subject: 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). --- source/Bindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Bindings.h') diff --git a/source/Bindings.h b/source/Bindings.h index eb6c566a7..a853b3521 100644 --- a/source/Bindings.h +++ b/source/Bindings.h @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 11/14/13 17:13:47. +** Generated automatically by tolua++-1.0.92 on 11/15/13 09:35:13. */ /* Exported function */ -- cgit v1.2.3 From 49d6afd501c16a782881e30bce2f908d730ce767 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 15 Nov 2013 10:15:27 +0100 Subject: Removed cBlockEntity:CreateByBlockType() from the Lua API. Plugins cannot be allowed to create block entities, that would result in memory leaks. --- source/Bindings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/Bindings.h') diff --git a/source/Bindings.h b/source/Bindings.h index a853b3521..13f398a4d 100644 --- a/source/Bindings.h +++ b/source/Bindings.h @@ -1,6 +1,6 @@ /* ** Lua binding: AllToLua -** Generated automatically by tolua++-1.0.92 on 11/15/13 09:35:13. +** Generated automatically by tolua++-1.0.92 on 11/15/13 10:14:20. */ /* Exported function */ -- cgit v1.2.3