Disable sb3 optimization again

Mangling variable IDs can cause unexpected behaviors in the backpack, for example
This commit is contained in:
Thomas Weber committed 2021-08-15 22:23:56 -05:00
1 parent 1c7c85a89d
commit 2467c9034d
1 file changed
+1 -1
+1 -1
View File
@@ -526,7 +526,7 @@ const serializeMonitors = function (monitors, runtime) {
* @param {string=} targetId Optional target id if serializing only a single target
* @return {object} Serialized runtime instance.
*/
const serialize = function (runtime, targetId, {allowOptimization = true} = {}) {
const serialize = function (runtime, targetId, {allowOptimization = false} = {}) {
// Fetch targets
const obj = Object.create(null);
// Create extension set to hold extension ids found while serializing targets