summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-01-01 15:02:43 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-01-01 15:02:43 +0100
commitc5b89ea0f5561ff1569d7b9638252cf3a0d9626c (patch)
tree863db40db757c919234a261490b05cffe494559f
parentimplemented the recommendations Xoft gave. (diff)
downloadcuberite-c5b89ea0f5561ff1569d7b9638252cf3a0d9626c.tar
cuberite-c5b89ea0f5561ff1569d7b9638252cf3a0d9626c.tar.gz
cuberite-c5b89ea0f5561ff1569d7b9638252cf3a0d9626c.tar.bz2
cuberite-c5b89ea0f5561ff1569d7b9638252cf3a0d9626c.tar.lz
cuberite-c5b89ea0f5561ff1569d7b9638252cf3a0d9626c.tar.xz
cuberite-c5b89ea0f5561ff1569d7b9638252cf3a0d9626c.tar.zst
cuberite-c5b89ea0f5561ff1569d7b9638252cf3a0d9626c.zip
Diffstat (limited to '')
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnPlayerFished.lua4
-rw-r--r--MCServer/Plugins/APIDump/Hooks/OnPlayerFishing.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/MCServer/Plugins/APIDump/Hooks/OnPlayerFished.lua b/MCServer/Plugins/APIDump/Hooks/OnPlayerFished.lua
index 03ab5bfb9..0ad2a3af3 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnPlayerFished.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnPlayerFished.lua
@@ -10,11 +10,11 @@ return
Params =
{
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player who pulled the fish in." },
- { Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, tressure and junk." },
+ { Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, treasure and junk." },
},
Returns = [[
If the function returns false or no value, the next plugin's callback is called. If the function returns true, no other
callback is called for this event.
]],
}, -- HOOK_PLAYER_FISHED
-} \ No newline at end of file
+}; \ No newline at end of file
diff --git a/MCServer/Plugins/APIDump/Hooks/OnPlayerFishing.lua b/MCServer/Plugins/APIDump/Hooks/OnPlayerFishing.lua
index 1989b02cd..14851c08d 100644
--- a/MCServer/Plugins/APIDump/Hooks/OnPlayerFishing.lua
+++ b/MCServer/Plugins/APIDump/Hooks/OnPlayerFishing.lua
@@ -10,7 +10,7 @@ return
Params =
{
{ Name = "Player", Type = "{{cPlayer}}", Notes = "The player who pulled the fish in." },
- { Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, tressure and junk." },
+ { Name = "Reward", Type = "{{cItems}}", Notes = "The reward the player gets. It can be a fish, treasure and junk." },
},
Returns = [[
If the function returns false or no value, the next plugin's callback is called. Afterwards, the
@@ -18,4 +18,4 @@ return
callback is called for this event and the player doesn't get his reward.
]],
}, -- HOOK_PLAYER_FISHING
-} \ No newline at end of file
+}; \ No newline at end of file