File tree Expand file tree Collapse file tree
src/space/yurisi/SecureCoinAPI Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55
66use pocketmine \plugin \PluginBase ;
77use space \yurisi \SecureCoinAPI \command \addcoinCommand ;
8- use space \yurisi \SecureCoinAPI \command \mymoneyCommand ;
8+ use space \yurisi \SecureCoinAPI \command \mycoinCommand ;
99use space \yurisi \SecureCoinAPI \command \seecoinCommand ;
1010use space \yurisi \SecureCoinAPI \command \takecoinCommand ;
1111use space \yurisi \SecureCoinAPI \database \coinJson ;
@@ -25,7 +25,7 @@ protected function onEnable(): void {
2525 $ this ->history = new historySQLite ($ this );
2626 $ this ->getServer ()->getPluginManager ()->registerEvents (new LoginEvent ($ this ), $ this );
2727 $ this ->getServer ()->getCommandMap ()->register ('SecureCoinAPI ' , new addcoinCommand ($ this ));
28- $ this ->getServer ()->getCommandMap ()->register ('SecureCoinAPI ' , new mymoneyCommand ($ this ));
28+ $ this ->getServer ()->getCommandMap ()->register ('SecureCoinAPI ' , new mycoinCommand ($ this ));
2929 $ this ->getServer ()->getCommandMap ()->register ('SecureCoinAPI ' , new seecoinCommand ($ this ));
3030 $ this ->getServer ()->getCommandMap ()->register ('SecureCoinAPI ' , new takecoinCommand ($ this ));
3131 self ::$ main = $ this ;
Original file line number Diff line number Diff line change 88use pocketmine \player \Player ;
99use space \yurisi \SecureCoinAPI \SecureCoinAPI ;
1010
11- class mymoneyCommand extends VanillaCommand {
11+ class mycoinCommand extends VanillaCommand {
1212
1313 public function __construct (private SecureCoinAPI $ main ) {
14- parent ::__construct ("mymoney " , "所持金を確認します " , "/mymoney " );
14+ parent ::__construct ("mycoin " , "所持金を確認します " , "/mycoin " );
1515 }
1616
1717 public function execute (CommandSender $ sender , string $ commandLabel , array $ args ) {
You can’t perform that action at this time.
0 commit comments