fixed bug that messages dont send due null plugin

This commit is contained in:
mohammed jasem alaajel 2021-06-14 08:55:05 +04:00 committed by Govindas
parent a984da5f5f
commit 01b5304719

View File

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