summaryrefslogtreecommitdiffstats
path: root/src/Bindings/ManualBindings.cpp
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-11-20 10:13:10 +0100
committerMattes D <github@xoft.cz>2014-11-20 10:13:10 +0100
commit288cbf12cb66ed9f026f81bb13e945c68cfefd13 (patch)
treefa97f48bbd8b871aa556c79974a2f64e76272ac0 /src/Bindings/ManualBindings.cpp
parentMobs: Fixed crash with terrain too high. (diff)
parentMerge pull request #1603 from mc-server/ImprovedNoise (diff)
downloadcuberite-288cbf12cb66ed9f026f81bb13e945c68cfefd13.tar
cuberite-288cbf12cb66ed9f026f81bb13e945c68cfefd13.tar.gz
cuberite-288cbf12cb66ed9f026f81bb13e945c68cfefd13.tar.bz2
cuberite-288cbf12cb66ed9f026f81bb13e945c68cfefd13.tar.lz
cuberite-288cbf12cb66ed9f026f81bb13e945c68cfefd13.tar.xz
cuberite-288cbf12cb66ed9f026f81bb13e945c68cfefd13.tar.zst
cuberite-288cbf12cb66ed9f026f81bb13e945c68cfefd13.zip
Diffstat (limited to 'src/Bindings/ManualBindings.cpp')
-rw-r--r--src/Bindings/ManualBindings.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Bindings/ManualBindings.cpp b/src/Bindings/ManualBindings.cpp
index 3d10e2abb..750f7c65a 100644
--- a/src/Bindings/ManualBindings.cpp
+++ b/src/Bindings/ManualBindings.cpp
@@ -1034,11 +1034,11 @@ static int tolua_cWorld_SetSignLines(lua_State * tolua_S)
#ifndef TOLUA_RELEASE
if (self == nullptr)
{
- tolua_error(tolua_S, "invalid 'self' in function 'SetSignLines' / 'UpdateSign'", nullptr);
+ tolua_error(tolua_S, "invalid 'self' in function 'SetSignLines'", nullptr);
}
#endif
{
- bool res = self->UpdateSign(BlockX, BlockY, BlockZ, Line1, Line2, Line3, Line4, Player);
+ bool res = self->SetSignLines(BlockX, BlockY, BlockZ, Line1, Line2, Line3, Line4, Player);
tolua_pushboolean(tolua_S, res ? 1 : 0);
}
}
@@ -1046,7 +1046,7 @@ static int tolua_cWorld_SetSignLines(lua_State * tolua_S)
#ifndef TOLUA_RELEASE
tolua_lerror:
- tolua_error(tolua_S, "#ferror in function 'SetSignLines' / 'UpdateSign'.", &tolua_err);
+ tolua_error(tolua_S, "#ferror in function 'SetSignLines'.", &tolua_err);
return 0;
#endif
}
@@ -3405,7 +3405,6 @@ void ManualBindings::Bind(lua_State * tolua_S)
tolua_function(tolua_S, "ScheduleTask", tolua_cWorld_ScheduleTask);
tolua_function(tolua_S, "SetSignLines", tolua_cWorld_SetSignLines);
tolua_function(tolua_S, "TryGetHeight", tolua_cWorld_TryGetHeight);
- tolua_function(tolua_S, "UpdateSign", tolua_cWorld_SetSignLines);
tolua_endmodule(tolua_S);
tolua_beginmodule(tolua_S, "cMapManager");