Removed #sendSubtitle() and #sendTitle() from NMSAbstraction

because Spigot 1.12 supports it with Player :D
This commit is contained in:
Florian CUNY 2017-12-26 21:10:39 +01:00
parent f22065fd2c
commit bdbe271a83
3 changed files with 0 additions and 34 deletions

View File

@ -12,20 +12,6 @@ public interface NMSAbstraction {
*/
void sendActionBar(Player player, String message);
/**
* Send a title to a player
* @param player
* @param message
*/
void sendTitle(Player player, String message);
/**
* Send a subtitle to a player
* @param player
* @param message
*/
void sendSubtitle(Player player, String message);
/**
* Returns the active {@link org.bukkit.command.CommandMap} of the Server.
* It is used by the {@link us.tastybento.bskyblock.api.commands.CompositeCommand} to register itself.

View File

@ -12,16 +12,6 @@ public class NMSHandler implements NMSAbstraction {
//TODO use /title command
}
@Override
public void sendTitle(Player player, String message) {
//TODO use /title command
}
@Override
public void sendSubtitle(Player player, String message) {
//TODO use /title command
}
@Override
public CommandMap getServerCommandMap() {
return null;

View File

@ -14,16 +14,6 @@ public class NMSHandler implements NMSAbstraction {
}
@Override
public void sendTitle(Player player, String message) {
}
@Override
public void sendSubtitle(Player player, String message) {
}
@Override
public CommandMap getServerCommandMap() {
return ((CraftServer) Bukkit.getServer()).getCommandMap();