This repository was archived by the owner on Apr 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
src/ProjectInfinity/PocketVote Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : PocketVote
22main : ProjectInfinity\PocketVote\PocketVote
3- version : 2.1.4
3+ version : 2.1.5
44api : [3.0.0]
55author : ProjectInfinity
66permissions :
Original file line number Diff line number Diff line change @@ -119,13 +119,13 @@ public function onEnable() {
119119 $ this ->expiration = 86400 * $ this ->getConfig ()->get ('vote-expiration ' , 7 );
120120 $ this ->voteManager = new VoteManager ($ this );
121121 $ this ->getServer ()->getCommandMap ()->register ('pocketvote ' , new PocketVoteCommand ($ this ));
122- $ this ->getServer ()->getCommandMap ()->register ('vote ' , new VoteCommand ($ this ));
122+ $ this ->getServer ()->getCommandMap ()->register ('pocketvote ' , new VoteCommand ($ this ));
123123
124124 ### MCPE Guru commands ###
125- $ this ->getServer ()->getCommandMap ()->register ('guru ' , new GuruCommand ($ this ));
126- $ this ->getServer ()->getCommandMap ()->register ('guadd ' , new GuAddCommand ($ this ));
127- $ this ->getServer ()->getCommandMap ()->register ('gudel ' , new GuDelCommand ($ this ));
128- $ this ->getServer ()->getCommandMap ()->register ('gulist ' , new GuListCommand ($ this ));
125+ $ this ->getServer ()->getCommandMap ()->register ('pocketvote ' , new GuruCommand ($ this ));
126+ $ this ->getServer ()->getCommandMap ()->register ('pocketvote ' , new GuAddCommand ($ this ));
127+ $ this ->getServer ()->getCommandMap ()->register ('pocketvote ' , new GuDelCommand ($ this ));
128+ $ this ->getServer ()->getCommandMap ()->register ('pocketvote ' , new GuListCommand ($ this ));
129129
130130 $ this ->getServer ()->getPluginManager ()->registerEvents (new VoteListener ($ this ), $ this );
131131
You can’t perform that action at this time.
0 commit comments