From 671ba32e5aec9e944dd54699555ebf5a6f7714b9 Mon Sep 17 00:00:00 2001
From: RealBadAngel <mk@realbadangel.pl>
Date: Tue, 19 Feb 2013 23:11:41 +0100
Subject: [PATCH] Fix to last registered power tool not being able to charge (affected blue energy crystal)

---
 technic/water_mill.lua |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/technic/technic/water_mill.lua b/technic/water_mill.lua
similarity index 97%
rename from technic/technic/water_mill.lua
rename to technic/water_mill.lua
index 6e0120d..fca52bb 100644
--- a/technic/technic/water_mill.lua
+++ b/technic/water_mill.lua
@@ -125,4 +125,7 @@
 local node=minetest.env:get_node(pos)
 if node.name=="default:water_flowing"  then return 1 end
 return 0
-end
\ No newline at end of file
+end
+
+register_LV_machine ("technic:water_mill","PR")
+register_LV_machine ("technic:water_mill_active","PR")

--
Gitblit v1.8.0