mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2025-01-02 22:47:43 +01:00
Removed #sendSubtitle() and #sendTitle() from NMSAbstraction
because Spigot 1.12 supports it with Player :D
This commit is contained in:
parent
f22065fd2c
commit
bdbe271a83
@ -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.
|
||||
|
@ -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;
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user