aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/experiments.ts
blob: 9db2e0585bb0e6ccf51d61a26f9896e1f6b8502f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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"
        }
    }]
});