Stargate Rewritten

Stargate Rewritten

241 Downloads

Iron Door Permission Incorporation

Thorinwasher opened this issue ยท 1 comments

commented

Currently, if an iron door is placed in front of a portal, it prevents anyone without switch perms from entering the portal. That said, the portal still activates if appropriate perms are available.

This feature should be retained. Might be a good idea for this to only work with portals with a 1 wide traversable block

commented
  • Check if gateformat is compatible with irongate (1x2 or 1x1)
  • assign IRON_DOOR flag to specified portal
  • for those portals, always check if there is a irondoor blocking them before opening
  • If so, check if interact event is canceled and deny portal opening