The End? Advancement

This commit is contained in:
PrairieAstronomer 2022-06-11 12:29:11 -06:00
parent 1a5195b5e6
commit 91f8f44e17
2 changed files with 7 additions and 1 deletions

View file

@ -174,6 +174,12 @@ awards.register_achievement("mcl:buildNetherPortal", {
icon = "default_obsidian.png",
})
awards.register_achievement("mcl:enterEndPortal", {
title = S("The End?"),
description = S("Or the beginning?\nHint: Enter an end portal."),
icon = "mcl_end_end_stone.png",
})
-- NON-PC ACHIEVEMENTS (XBox, Pocket Edition, etc.)
if non_pc_achievements then

View file

@ -241,7 +241,7 @@ function mcl_portals.end_portal_teleport(pos, node)
end
mcl_portals.end_teleport(obj, objpos)
awards.unlock(obj:get_player_name(), "mcl:enterEndPortal")
end
end
end