aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCalinou <calinou@opmbx.org>2014-06-12 10:24:16 +0200
committerCalinou <calinou@opmbx.org>2014-06-12 10:24:16 +0200
commit2b6eb1ff842229f202bfa8078a8c55eb8942d3b6 (patch)
treec805f6563ae9e0d8ab076f0439a1949bbb67be0c
parentb6cba7477095210741aed0e40fa648df5f912283 (diff)
downloadmoreblocks-2b6eb1ff842229f202bfa8078a8c55eb8942d3b6.tar.gz
moreblocks-2b6eb1ff842229f202bfa8078a8c55eb8942d3b6.tar.bz2
moreblocks-2b6eb1ff842229f202bfa8078a8c55eb8942d3b6.zip
Code cleanup.
-rw-r--r--redefinitions.lua37
1 files changed, 9 insertions, 28 deletions
diff --git a/redefinitions.lua b/redefinitions.lua
index 259234d..a0bcdf5 100644
--- a/redefinitions.lua
+++ b/redefinitions.lua
@@ -72,33 +72,15 @@ minetest.register_craft({
if minetest.override_item then
if moreblocks.config.wood_facedir then
- minetest.override_item("default:wood", {
- paramtype2 = "facedir",
- })
- minetest.override_item("default:junglewood", {
- paramtype2 = "facedir",
- })
- minetest.override_item("default:brick", {
- paramtype2 = "facedir",
- })
- minetest.override_item("default:stonebrick", {
- paramtype2 = "facedir",
- })
- minetest.override_item("default:desert_stonebrick", {
- paramtype2 = "facedir",
- })
- minetest.override_item("default:sandstonebrick", {
- paramtype2 = "facedir",
- })
- minetest.override_item("moreblocks:cactus_brick", {
- paramtype2 = "facedir",
- })
- minetest.override_item("moreblocks:coal_stone_bricks", {
- paramtype2 = "facedir",
- })
- minetest.override_item("moreblocks:iron_stone_bricks", {
- paramtype2 = "facedir",
- })
+ minetest.override_item("default:wood", {paramtype2 = "facedir",})
+ minetest.override_item("default:junglewood", {paramtype2 = "facedir",})
+ minetest.override_item("default:brick", {paramtype2 = "facedir",})
+ minetest.override_item("default:stonebrick", {paramtype2 = "facedir",})
+ minetest.override_item("default:desert_stonebrick", {paramtype2 = "facedir",})
+ minetest.override_item("default:sandstonebrick", {paramtype2 = "facedir",})
+ minetest.override_item("moreblocks:cactus_brick", {paramtype2 = "facedir",})
+ minetest.override_item("moreblocks:coal_stone_bricks", {paramtype2 = "facedir",})
+ minetest.override_item("moreblocks:iron_stone_bricks", {paramtype2 = "facedir",})
end
-- Make glass and obsidian glass framed, like the More Blocks glasses:
@@ -163,4 +145,3 @@ for i = 2, 5 do
end
end -- End "if minetest.override_item".
-