You can get away without the repeater if you add a block between the barrel and the comparator, but then someone can glitch it on by placing an item in and out very quickly.
Join the discord for access to our free, public SMP, technical support, and just generally good vibes.
Discord Link: / discord
For perks like early access, video shoutouts, and exclusive world downloads join my patreon, it is really appreciated:
/ nicoislost
As always feel free to comment if you have any questions
#Redstone #Minecraft #Nico