forked from Limework/RediSkript
fixed bug that messages dont send due null plugin
This commit is contained in:
parent
a984da5f5f
commit
01b5304719
@ -23,7 +23,7 @@ public class EffSendMessage extends Effect {
|
|||||||
@Override
|
@Override
|
||||||
protected void execute(Event event) {
|
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[] message = this.message.getAll(event);
|
||||||
String channel = this.channel.getSingle(event);
|
String channel = this.channel.getSingle(event);
|
||||||
|
Loading…
Reference in New Issue
Block a user