This commit is contained in:
Draycia committed 2020-07-01 13:06:15 -07:00
1 parent c1781dbdd8
commit a57254aa6a
11 files changed
+12 -43

No files matched your search

@@ -9,9 +9,9 @@ import net.draycia.simplechat.storage.ChatUser;
import net.kyori.adventure.text.Component;
import net.kyori.adventure.text.minimessage.MiniMessage;
import org.bukkit.Bukkit;
import org.bukkit.OfflinePlayer;
import org.bukkit.entity.Player;
import org.bukkit.plugin.messaging.PluginMessageListener;
import org.jetbrains.annotations.NotNull;
import java.util.UUID;
@@ -27,7 +27,7 @@ public class PluginMessageManager implements PluginMessageListener {
}
@Override
public void onPluginMessageReceived(String channel, Player player, byte[] message) {
public void onPluginMessageReceived(String channel, @NotNull Player player, @NotNull byte[] message) {
if (!channel.equals("BungeeCord")) {
return;
}