From b1c9b50406a40e247b7192ef43fe203a0a611072 Mon Sep 17 00:00:00 2001 From: orwell96 Date: Thu, 15 Sep 2016 11:50:37 +0200 Subject: add some items to the not-blocking-trains group --- wagons.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wagons.lua') diff --git a/wagons.lua b/wagons.lua index 78d7b67..ed59ed2 100644 --- a/wagons.lua +++ b/wagons.lua @@ -111,7 +111,7 @@ end -- Remove the wagon function wagon:on_punch(puncher, time_from_last_punch, tool_capabilities, direction) - if not puncher or not puncher:is_player() then + if not puncher or not puncher:is_player() or puncher == self.driver then return end -- cgit v1.2.3