Stairs: Safer slab name check
author12Me21 <12Me21.MC@gmail.com>
Mon, 3 Sep 2018 02:34:56 +0000 (22:34 -0400)
committerParamat <paramat@users.noreply.github.com>
Mon, 3 Sep 2018 02:34:56 +0000 (03:34 +0100)
commitaafe31c14ea41afbb243c9443658863bd9460b6b
tree51c159703ce9e2701a9306dc5d1187a51bb258ec
parentef20f9e12b541eb657f4e7345c206ec2448cc841
Stairs: Safer slab name check

Before, it checked if the node name *contained* "stairs:slab_", which could detect
things like "xxxxxstairs:slab_xxxx". Changed the pattern to "^stairs:slab_".
mods/stairs/init.lua