mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-01 22:15:08 +00:00
Remove unused cleanup, cleanup a return
This commit is contained in:
1 parent
944d9ead18
commit
610290f055
2 files changed
+1
-4
No files matched your search
+1
-3
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user