Pin Minecraft 26.3 and add safe Orion managed deployment support
This commit is contained in:
1 parent
dff2b5a9c4
commit
008120dbad
40 files changed
+1877
-490
No files matched your search
@@ -0,0 +1,11 @@
|
||||
import { env } from "./env";
|
||||
|
||||
export class ManagedDeploymentError extends Error {
|
||||
constructor() {
|
||||
super("This deployment is managed by Komodo. Change its reviewed configuration in homelab-infra.");
|
||||
}
|
||||
}
|
||||
|
||||
export function assertDeploymentEditable(): void {
|
||||
if (env.managed) throw new ManagedDeploymentError();
|
||||
}
|
||||
Reference in new issue
Block a user