diff options
author | madmaxoft <github@xoft.cz> | 2014-06-24 07:05:49 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-06-24 07:05:49 +0200 |
commit | 43060927536979dc943b8a4018f03748f3f3833b (patch) | |
tree | ae63a75a92d8ae705fafee9e5dcbf90eb0faf6d4 | |
parent | VoronoiMap: Added a missing initializer. (diff) | |
download | cuberite-43060927536979dc943b8a4018f03748f3f3833b.tar cuberite-43060927536979dc943b8a4018f03748f3f3833b.tar.gz cuberite-43060927536979dc943b8a4018f03748f3f3833b.tar.bz2 cuberite-43060927536979dc943b8a4018f03748f3f3833b.tar.lz cuberite-43060927536979dc943b8a4018f03748f3f3833b.tar.xz cuberite-43060927536979dc943b8a4018f03748f3f3833b.tar.zst cuberite-43060927536979dc943b8a4018f03748f3f3833b.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/Debuggers/Debuggers.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua index 534426d25..deb6a720b 100644 --- a/MCServer/Plugins/Debuggers/Debuggers.lua +++ b/MCServer/Plugins/Debuggers/Debuggers.lua @@ -346,7 +346,7 @@ end function OnUsingBlazeRod(Player, BlockX, BlockY, BlockZ, BlockFace, CursorX, CursorY, CursorZ) -- Magic rod of query: show block types and metas for both neighbors of the pointed face - local Type, Meta, Valid = Player:GetWorld():GetBlockTypeMeta(BlockX, BlockY, BlockZ, Type, Meta); + local Valid, Type, Meta = Player:GetWorld():GetBlockTypeMeta(BlockX, BlockY, BlockZ); if (Type == E_BLOCK_AIR) then Player:SendMessage(cChatColor.LightGray .. "Block {" .. BlockX .. ", " .. BlockY .. ", " .. BlockZ .. "}: air:" .. Meta); @@ -356,7 +356,7 @@ function OnUsingBlazeRod(Player, BlockX, BlockY, BlockZ, BlockFace, CursorX, Cur end local X, Y, Z = AddFaceDirection(BlockX, BlockY, BlockZ, BlockFace); - Valid, Type, Meta = Player:GetWorld():GetBlockTypeMeta(X, Y, Z, Type, Meta); + Valid, Type, Meta = Player:GetWorld():GetBlockTypeMeta(X, Y, Z); if (Type == E_BLOCK_AIR) then Player:SendMessage(cChatColor.LightGray .. "Block {" .. X .. ", " .. Y .. ", " .. Z .. "}: air:" .. Meta); else |