Finish rewrite
This commit is contained in:
14
src/plugins/experiments.ts
Normal file
14
src/plugins/experiments.ts
Normal file
@ -0,0 +1,14 @@
|
||||
import definePlugin from '../utils/types';
|
||||
|
||||
export default definePlugin({
|
||||
name: "Experiments",
|
||||
author: "Vendicated",
|
||||
description: "Enable Experiments",
|
||||
patches: [{
|
||||
find: "Object.defineProperties(this,{isDeveloper",
|
||||
replacement: {
|
||||
match: /(?<={isDeveloper:\{[^}]+,get:function\(\)\{return )\w/,
|
||||
replace: "true"
|
||||
}
|
||||
}]
|
||||
});
|
Reference in New Issue
Block a user