1
0
Fork 0

make ender pearls activate target

new_mapgen_api
AFCMS 2022-02-26 22:16:10 +01:00
parent c6f72c473f
commit d89687984b
No known key found for this signature in database
GPG Key ID: 8720389A25B652E3
1 changed files with 3 additions and 0 deletions

View File

@ -284,6 +284,9 @@ local function pearl_on_step(self, dtime)
end
self.object:remove()
if mod_target and node.name == "mcl_target:target_off" then
mcl_target.hit(vector.round(pos), 0.4) --4 redstone ticks
end
return
end
end