add license, remove print

firefx
capitalthree 6 months ago
parent 001f715f94
commit 558a45b705
  1. 23
      LICENSE
  2. 3
      rules.lua

@ -0,0 +1,23 @@
Copyright (C)2023 capitalthree
Portions Copyright (C)2018-2023 Aaron Suen <warr1024@gmail.com>
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.

@ -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
end

Loading…
Cancel
Save