From 2b6eb1ff842229f202bfa8078a8c55eb8942d3b6 Mon Sep 17 00:00:00 2001
From: Calinou <calinou@opmbx.org>
Date: Thu, 12 Jun 2014 10:24:16 +0200
Subject: Code cleanup.

---
 redefinitions.lua | 37 +++++++++----------------------------
 1 file changed, 9 insertions(+), 28 deletions(-)

(limited to 'redefinitions.lua')

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".
-
-- 
cgit v1.2.3