From 889b83ac24dac0b4b608cd03e09334b79053712c Mon Sep 17 00:00:00 2001
From: cheapie <no-email-for-you@example.com>
Date: Thu, 30 Apr 2020 01:00:41 -0500
Subject: Add compatibility with digistuff's channel copier

---
 init.lua | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/init.lua b/init.lua
index ff96202..5cd17e6 100644
--- a/init.lua
+++ b/init.lua
@@ -46,6 +46,7 @@ minetest.register_node("printer:printer",{
 	groups = {
 		dig_immediate = 2,
 	},
+	_digistuff_channelcopier_fieldname = "channel",
 	on_construct = function(pos)
 		local meta = minetest.get_meta(pos)
 		meta:get_inventory():set_size("paper",1)
@@ -193,6 +194,7 @@ minetest.register_node("printer:receipt_printer",{
 	groups = {
 		dig_immediate = 2,
 	},
+	_digistuff_channelcopier_fieldname = "channel",
 	on_construct = function(pos)
 		local meta = minetest.get_meta(pos)
 		meta:get_inventory():set_size("paper",1)
-- 
cgit v1.2.3