Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SectorInfoCommand.java #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 6 additions & 8 deletions src/com/bartekmajster/opensectors/SectorInfoCommand.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package com.bartekmajster.opensectors;


import org.bukkit.command.*;
import org.bukkit.entity.*;

public class SectorInfoCommand implements CommandExecutor
{
public class SectorInfoCommand implements CommandExecutor {
Sectors plugin;

public SectorInfoCommand(final Sectors plugin) {
Expand All @@ -14,11 +12,11 @@ public SectorInfoCommand(final Sectors plugin) {
}

public boolean onCommand(final CommandSender sender, final Command cmd, final String label, final String[] args) {
final Player p = (Player)sender;
p.sendMessage("Open Sector Plugin by BartekMajster");
p.sendMessage("Version: 1.0");
p.sendMessage("API: api.sm-pack.xyz");
p.sendMessage("Server IP: " + ConfigManager.Adres + "");
final Player player = (Player) sender;
player.sendMessage("Open Sector Plugin by BartekMajster");
player.sendMessage("Version: 1.0");
player.sendMessage("API: api.sm-pack.xyz");
player.sendMessage("Server IP: " + ConfigManager.Adres);
return false;
}
}