mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-09-07 13:08:19 +02:00
Method no longer needed since dropping support for 1.6.4
This commit is contained in:
parent
b7eefd44c9
commit
435d455134
@ -70,7 +70,7 @@ public class EditCommand extends HologramSubCommand {
|
||||
}
|
||||
}
|
||||
|
||||
if (CommandValidator.isPlayerSender(sender) && HolographicDisplays.getNMSManager().hasChatHoverFeature()) {
|
||||
if (CommandValidator.isPlayerSender(sender)) {
|
||||
HelpCommand.sendHoverTip(sender);
|
||||
}
|
||||
}
|
||||
|
@ -64,7 +64,7 @@ public class HelpCommand extends HologramSubCommand {
|
||||
}
|
||||
}
|
||||
|
||||
if (CommandValidator.isPlayerSender(sender) && HolographicDisplays.getNMSManager().hasChatHoverFeature()) {
|
||||
if (CommandValidator.isPlayerSender(sender)) {
|
||||
sendHoverTip(sender);
|
||||
}
|
||||
}
|
||||
|
@ -33,6 +33,4 @@ public interface NMSManager {
|
||||
|
||||
public FancyMessage newFancyMessage(String text);
|
||||
|
||||
public boolean hasChatHoverFeature();
|
||||
|
||||
}
|
||||
|
@ -143,10 +143,5 @@ public class NmsManagerImpl implements NMSManager {
|
||||
public FancyMessage newFancyMessage(String text) {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -156,11 +156,6 @@ public class NmsManagerImpl implements NMSManager {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public NMSArmorStand spawnNMSArmorStand(org.bukkit.World world, double x, double y, double z, CraftHologramLine parentPiece) {
|
||||
throw new NotImplementedException("Method can only be used on 1.8 or higher");
|
||||
|
@ -156,11 +156,6 @@ public class NmsManagerImpl implements NMSManager {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public NMSArmorStand spawnNMSArmorStand(org.bukkit.World world, double x, double y, double z, CraftHologramLine parentPiece) {
|
||||
throw new NotImplementedException("Method can only be used on 1.8 or higher");
|
||||
|
@ -156,11 +156,6 @@ public class NmsManagerImpl implements NMSManager {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public NMSArmorStand spawnNMSArmorStand(org.bukkit.World world, double x, double y, double z, CraftHologramLine parentPiece) {
|
||||
throw new NotImplementedException("Method can only be used on 1.8 or higher");
|
||||
|
@ -156,11 +156,6 @@ public class NmsManagerImpl implements NMSManager {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public NMSArmorStand spawnNMSArmorStand(org.bukkit.World world, double x, double y, double z, CraftHologramLine parentPiece) {
|
||||
throw new NotImplementedException("Method can only be used on 1.8 or higher");
|
||||
|
@ -153,10 +153,5 @@ public class NmsManagerImpl implements NMSManager {
|
||||
public FancyMessage newFancyMessage(String text) {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -153,9 +153,4 @@ public class NmsManagerImpl implements NMSManager {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -153,9 +153,4 @@ public class NmsManagerImpl implements NMSManager {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -143,10 +143,5 @@ public class NmsManagerImpl implements NMSManager {
|
||||
public FancyMessage newFancyMessage(String text) {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -143,10 +143,5 @@ public class NmsManagerImpl implements NMSManager {
|
||||
public FancyMessage newFancyMessage(String text) {
|
||||
return new FancyMessageImpl(text);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasChatHoverFeature() {
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user