mirror of
https://github.com/darksaid98/Builders-Utilities.git
synced 2026-12-02 22:16:10 +00:00
Rename main to BU internally declaring BU as BU (#14)
* [CI-SKIP] Update actions workflow addressing latest deprecations * Rename main to BU internally * Delete unused help command
This commit is contained in:
1 parent
063df280ee
commit
dac0f60c18
64 files changed
+113
-209
No files matched your search
@@ -22,10 +22,9 @@
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package net.arcaniax.buildersutilities.commands.aliases;
|
||||
|
||||
import net.arcaniax.buildersutilities.Main;
|
||||
import net.arcaniax.buildersutilities.BuildersUtilities;
|
||||
import net.arcaniax.buildersutilities.Settings;
|
||||
import net.arcaniax.buildersutilities.commands.system.ICommand;
|
||||
import org.bukkit.entity.Player;
|
||||
@@ -35,7 +34,7 @@ public class FlipAliasCommand implements ICommand {
|
||||
public void execute(Player player, String[] args) {
|
||||
if (!player.hasPermission("builders.util.aliases")) {
|
||||
if (Settings.sendErrorMessages) {
|
||||
player.sendMessage(Main.MSG_NO_PERMISSION + "builders.util.aliases");
|
||||
player.sendMessage(BuildersUtilities.MSG_NO_PERMISSION + "builders.util.aliases");
|
||||
}
|
||||
return;
|
||||
}
|
||||
@@ -47,6 +46,6 @@ public class FlipAliasCommand implements ICommand {
|
||||
}
|
||||
}
|
||||
|
||||
Main.getInstance().getServer().dispatchCommand(player, "/flip " + builder.toString());
|
||||
BuildersUtilities.getInstance().getServer().dispatchCommand(player, "/flip " + builder.toString());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user