EroticDungeonGame/node_modules/@commitlint/load/lib/utils/plugin-errors.js
3944Realms 8c4ce2709c fix(兼容emotescraft和rideeverything): 修改骑乘逻辑和tick取消EmtoesCraft表情
使用Mixin中检测绕过骑乘取消和开始骑乘逻辑,避免原版的unRide方法导致非预期的退出设备;在每tick检测,如果在设备上则停止表情动画
2026-02-20 14:45:57 +08:00

21 lines
764 B
JavaScript

export class WhitespacePluginError extends Error {
__proto__ = Error;
messageTemplate = "whitespace-found";
messageData = {};
constructor(pluginName, data = {}) {
super(`Whitespace found in plugin name '${pluginName}'`);
this.messageData = data;
Object.setPrototypeOf(this, WhitespacePluginError.prototype);
}
}
export class MissingPluginError extends Error {
__proto__ = Error;
messageTemplate = "plugin-missing";
messageData;
constructor(pluginName, errorMessage = "", data = {}) {
super(`Failed to load plugin ${pluginName}: ${errorMessage}`);
this.messageData = data;
Object.setPrototypeOf(this, MissingPluginError.prototype);
}
}
//# sourceMappingURL=plugin-errors.js.map