From 44cb43f13cdd8f2b3efb9ae77daa3e994c62bc26 Mon Sep 17 00:00:00 2001 From: x12xx12x <44411062+12xx12@users.noreply.github.com> Date: Sun, 10 Nov 2024 00:07:11 +0100 Subject: Fix Block Entity Placement in Generation (#5060) * block area in chunk desc now handles block entities some minor changes block entities validate and correct their position when put into the world * fixed checkstyle * Fixed Build * Removed Empty File --------- Co-authored-by: 12xx12 <12xx12100@gmail.com> Co-authored-by: Alexander Harkness --- src/ChunkDataCallback.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ChunkDataCallback.h') diff --git a/src/ChunkDataCallback.h b/src/ChunkDataCallback.h index 49b3f1e2b..3b47a54f9 100644 --- a/src/ChunkDataCallback.h +++ b/src/ChunkDataCallback.h @@ -18,7 +18,7 @@ /** Interface class used for getting data out of a chunk using the GetAllData() function. Implementation must use the pointers immediately and NOT store any of them for later use The virtual methods are called in the same order as they're declared here. */ -class cChunkDataCallback abstract +class cChunkDataCallback { public: @@ -44,7 +44,7 @@ public: /** Called for each entity in the chunk */ virtual void Entity(cEntity * a_Entity) { UNUSED(a_Entity); } - /** Called for each blockentity in the chunk */ + /** Called for each block entity in the chunk */ virtual void BlockEntity(cBlockEntity * a_Entity) { UNUSED(a_Entity); } } ; -- cgit v1.2.3