summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/APIDump/Hooks
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua2
-rw-r--r--Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua3
2 files changed, 3 insertions, 2 deletions
diff --git a/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua b/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua
index 9a6c0bc8c..a34f93a08 100644
--- a/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua
+++ b/Server/Plugins/APIDump/Hooks/OnPlayerEditedBook.lua
@@ -12,7 +12,7 @@ return
Params =
{
{ Name = "Player", Type = "cPlayer", Notes = "The player that edited the book" },
- { Name = "BookContent", Type = "cBookContent", Notes = "The class that contains the current info of the book" },
+ { Name = "NewContent", Type = "cBookContent", Notes = "Contains the new content of the book" },
{ Name = "IsSigned", Type = "boolean", Notes = "Player has signed the book" },
},
Returns = [[
diff --git a/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua b/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua
index 455bf4f69..082c6a4a2 100644
--- a/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua
+++ b/Server/Plugins/APIDump/Hooks/OnPlayerEditingBook.lua
@@ -12,7 +12,8 @@ return
Params =
{
{ Name = "Player", Type = "cPlayer", Notes = "The player that is editing the book" },
- { Name = "BookContent", Type = "cBookContent", Notes = "The class that contains the current info of the book" },
+ { Name = "OriginalContent", Type = "cBookContent", Notes = "Contains the original content of the book" },
+ { Name = "NewContent", Type = "cBookContent", Notes = "Contains the new content of the book" },
{ Name = "IsSigned", Type = "boolean", Notes = "Player is signing the book" },
},
Returns = [[