summaryrefslogtreecommitdiffstats
path: root/source/cChestEntity.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/cChestEntity.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/cChestEntity.cpp b/source/cChestEntity.cpp
index 92a039dd7..a798eff47 100644
--- a/source/cChestEntity.cpp
+++ b/source/cChestEntity.cpp
@@ -156,11 +156,12 @@ void cChestEntity::SaveToJson( Json::Value& a_Value )
-void cChestEntity::SendTo( cClientHandle* a_Client, cServer* a_Server )
+void cChestEntity::SendTo(cClientHandle & a_Client)
{
+ // The chest entity doesn't need anything sent to the client when it's created / gets in the viewdistance
+ // All the actual handling is in the cWindow UI code that gets called when the chest is rclked
+
UNUSED(a_Client);
- UNUSED(a_Server);
- return;
}