From 558a45b705de3038d8b684af9306517ba93d7c53 Mon Sep 17 00:00:00 2001 From: capitalthree Date: Tue, 21 Nov 2023 06:30:24 -0600 Subject: [PATCH] add license, remove print --- LICENSE | 23 +++++++++++++++++++++++ rules.lua | 3 +-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 LICENSE diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..4fac56c --- /dev/null +++ b/LICENSE @@ -0,0 +1,23 @@ +Copyright (C)2023 capitalthree +Portions Copyright (C)2018-2023 Aaron Suen + + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject +to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + diff --git a/rules.lua b/rules.lua index 8f91ffd..bd4747e 100644 --- a/rules.lua +++ b/rules.lua @@ -263,7 +263,6 @@ function lc_liberties.handle_placement(pos) for i2, v2 in pairs(v.stones) do local under = check_position(v2 + down) - print(under) if (under:sub(1, 1) == "W") and (under:len() > 1) then nodecore.set_loud(v2, {name = "nc_fire:fire"}) else @@ -330,4 +329,4 @@ function lc_liberties.handle_dig(pos, node, digger) else return minetest.node_dig(pos, node, digger) end -end \ No newline at end of file +end