diff options
Diffstat (limited to 'src/serverobject.h')
-rw-r--r-- | src/serverobject.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/serverobject.h b/src/serverobject.h index 110f67f5b..8029cf584 100644 --- a/src/serverobject.h +++ b/src/serverobject.h @@ -46,6 +46,7 @@ class ServerEnvironment; struct ItemStack; class Player; struct ToolCapabilities; +struct ObjectProperties; class ServerActiveObject : public ActiveObject { @@ -152,6 +153,10 @@ public: virtual void setArmorGroups(const ItemGroupList &armor_groups) {} + virtual ObjectProperties* accessObjectProperties() + { return NULL; } + virtual void notifyObjectPropertiesModified() + {} // Inventory and wielded item virtual Inventory* getInventory() |