Skip to content

Commit

Permalink
Rename ModApiEnvMod and ModApiItemMod
Browse files Browse the repository at this point in the history
The 'mod' could have meant module in the past but no other classes do this.
  • Loading branch information
sfan5 committed Jun 23, 2023
1 parent 610578e commit 659828b
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 70 deletions.
2 changes: 1 addition & 1 deletion src/script/cpp_api/s_base.h
Expand Up @@ -126,7 +126,7 @@ class ScriptApiBase : protected LuaHelper {
friend class ObjectRef;
friend class NodeMetaRef;
friend class ModApiBase;
friend class ModApiEnvMod;
friend class ModApiEnv;
friend class LuaVoxelManip;

/*
Expand Down
4 changes: 2 additions & 2 deletions src/script/cpp_api/s_item.h
Expand Up @@ -28,7 +28,7 @@ struct ItemStack;
class ServerActiveObject;
struct ItemDefinition;
class LuaItemStack;
class ModApiItemMod;
class ModApiItem;
class InventoryList;
struct InventoryLocation;

Expand Down Expand Up @@ -58,7 +58,7 @@ class ScriptApiItem

protected:
friend class LuaItemStack;
friend class ModApiItemMod;
friend class ModApiItem;

bool getItemCallback(const char *name, const char *callbackname, const v3s16 *p = nullptr);
/*!
Expand Down

0 comments on commit 659828b

Please sign in to comment.