summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
authorLukas Pioch <lukas@zgow.de>2017-08-04 12:07:10 +0200
committerLukas Pioch <lukas@zgow.de>2017-08-27 14:54:44 +0200
commit099e82db67b093eb009c6c5d80278c2e5ee128ee (patch)
tree9ca877b573bbf507a152f024b91ef44d1608c788 /Server/Plugins
parentRemoved unnecessary brackets (diff)
downloadcuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar
cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.gz
cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.bz2
cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.lz
cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.xz
cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.tar.zst
cuberite-099e82db67b093eb009c6c5d80278c2e5ee128ee.zip
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 = [[