Update EffSendMessage.java

This commit is contained in:
mohammed jasem alaajel 2021-06-14 09:02:21 +04:00 committed by Govindas
parent a7f8f39675
commit 03d9698bf8

View File

@ -23,7 +23,7 @@ public class EffSendMessage extends Effect {
@Override
protected void execute(Event event) {
RediSkript plugin = (RediSkript) Bukkit.getPluginManager().getPlugin("RediSkript-bukkit");
RediSkript plugin = RediSkript.getAPI();
String[] message = this.message.getAll(event);
String channel = this.channel.getSingle(event);