Remove unused cleanup, cleanup a return

This commit is contained in:
broccolai authored and Josh (Vicarious) committed 2020-07-20 19:11:09 -07:00
1 parent 944d9ead18
commit 610290f055
2 files changed
+1 -4

No files matched your search

@@ -142,9 +142,7 @@ public class SimpleChatChannel extends ChatChannel {
private boolean isUserSpying(ChatUser sender, ChatUser target) {
if (!canPlayerSee(sender, target, false)) {
if (target.getChannelSettings(this).isSpying()) {
return true;
}
return target.getChannelSettings(this).isSpying();
}
return false;
@@ -1,7 +1,6 @@
package net.draycia.simplechat.events;
import net.draycia.simplechat.channels.ChatChannel;
import net.draycia.simplechat.storage.ChatUser;
import net.draycia.simplechat.util.Registry;
import org.bukkit.Bukkit;
import org.bukkit.event.Event;