mirror of
https://github.com/darksaid98/HuskHomes.git
synced 2026-12-01 22:16:08 +00:00
Remove Notnull annotations
This commit is contained in:
1 parent
d66a8f4638
commit
207ab33c66
1 file changed
+1
-2
+1
-2
@@ -7,7 +7,6 @@ import me.william278.huskhomes2.data.message.CrossServerMessageHandler;
|
||||
import org.bukkit.Bukkit;
|
||||
import org.bukkit.entity.Player;
|
||||
import org.bukkit.plugin.messaging.PluginMessageListener;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.DataInputStream;
|
||||
@@ -16,7 +15,7 @@ import java.io.IOException;
|
||||
public class PluginMessageReceiver implements PluginMessageListener {
|
||||
|
||||
@Override @SuppressWarnings("UnstableApiUsage")
|
||||
public void onPluginMessageReceived(String channel, @NotNull Player player, byte[] message) {
|
||||
public void onPluginMessageReceived(String channel, Player player, byte[] message) {
|
||||
// Return if the message is not a Bungee message
|
||||
if (!channel.equals("BungeeCord")) {
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user