beforeOnPlayerPlace() has retroactively started being called in read-only mode on previous scripting API versions (in this case 1.18.0) this has resulted in published content no longer functioning correctly. In the case of our TRAINS Add-On, this change means that players are no longer able to place rails in any configuration but the default.
did they forget to change the api version to build?