This repository was archived by the owner on Feb 17, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
rawTextBuilder/components Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import { Dimension , Entity } from "mojang-minecraft" ;
22
33
4- export default class Command {
4+ export class Command {
55 #run( command , object ) {
66 if ( object . runCommand === undefined ) return ;
77 return object . runCommand ( command ) ;
Original file line number Diff line number Diff line change 11export * from "./utils/index.js" ;
22export { Event } from "./event.js" ;
33export { GameRule } from "./gamerule.js" ;
4- export { default as Command } from "./command.js" ;
4+ export { Command } from "./command.js" ;
55export { World } from "./world.js" ;
66export { Tick } from "./tick.js" ;
77export { Tag } from "./tag.js" ;
88export { Player } from "./player.js" ;
99export { Scoreboard } from "./scoreboard.js" ;
10- export { EventEmitter } from "./eventEmitter.js" ;
10+ // export { EventEmitter } from "./eventEmitter.js";
1111export { RawTextBuilder } from "./rawTextBuilder/index.js" ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default class TranslateComponent extends Base {
1515
1616 build ( ) {
1717 const result = { [ this . name ] : this . value . translate } ;
18- if ( this . value . with <= 0 ) {
18+ if ( this . value . with . length <= 0 ) {
1919 return result ;
2020 }
2121 return { ...result , with : this . #getWith( ) } ;
You can’t perform that action at this time.
0 commit comments