summaryrefslogtreecommitdiffstats
path: root/src/Bindings
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2020-05-03 00:10:54 +0200
committerTiger Wang <ziwei.tiger@outlook.com>2020-05-04 13:19:12 +0200
commit9b68fab8ed79437736f3f231d0169d063a2cd4ae (patch)
treeb508811e445b532e7a2895474958659257243008 /src/Bindings
parentAdded check if player is in spectator mode (#4709) (diff)
downloadcuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar
cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.gz
cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.bz2
cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.lz
cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.xz
cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.tar.zst
cuberite-9b68fab8ed79437736f3f231d0169d063a2cd4ae.zip
Diffstat (limited to 'src/Bindings')
-rw-r--r--src/Bindings/ManualBindings_BlockArea.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bindings/ManualBindings_BlockArea.cpp b/src/Bindings/ManualBindings_BlockArea.cpp
index 026e9bf2d..5af150599 100644
--- a/src/Bindings/ManualBindings_BlockArea.cpp
+++ b/src/Bindings/ManualBindings_BlockArea.cpp
@@ -836,7 +836,7 @@ static int GetRelBlock(lua_State * a_LuaState)
readVector3iOverloadParams(L, 2, coords, "coords");
if (!self->IsValidRelCoords(coords))
{
- return L.ApiParamError("The coords ({0}) are out of range ({1})",
+ return L.FApiParamError("The coords ({0}) are out of range ({1})",
coords, (self->GetSize() - Vector3i(1, 1, 1))
);
}