mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
fix: *definitely not missed style checks*
This commit is contained in:
2 files changed
+24
-3
No files matched your search
@@ -352,7 +352,7 @@ public class CarbonPlayerCommon implements CarbonPlayer, ForwardingAudience.Sing
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean equals(final @Nullable Object other) {
|
public boolean equals(final @Nullable Object other) {
|
||||||
if (other == null || this.getClass() != other.getClass()) return false;
|
if (other == null || this.getClass() != other.getClass()) return false;
|
||||||
|
|
||||||
return this.uuid.equals(((CarbonPlayerCommon) other).uuid);
|
return this.uuid.equals(((CarbonPlayerCommon) other).uuid);
|
||||||
|
|||||||
@@ -1,9 +1,30 @@
|
|||||||
|
/*
|
||||||
|
* CarbonChat
|
||||||
|
*
|
||||||
|
* Copyright (c) 2021 Josua Parks (Vicarious)
|
||||||
|
* Contributors
|
||||||
|
*
|
||||||
|
* This program is free software: you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License as published by
|
||||||
|
* the Free Software Foundation, either version 3 of the License, or
|
||||||
|
* (at your option) any later version.
|
||||||
|
*
|
||||||
|
* This program is distributed in the hope that it will be useful,
|
||||||
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
* GNU General Public License for more details.
|
||||||
|
*
|
||||||
|
* You should have received a copy of the GNU General Public License
|
||||||
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
*/
|
||||||
package net.draycia.carbon.common.util;
|
package net.draycia.carbon.common.util;
|
||||||
|
|
||||||
import net.kyori.adventure.audience.Audience;
|
import net.kyori.adventure.audience.Audience;
|
||||||
|
|
||||||
public class DiscordRecipient implements Audience {
|
public final class DiscordRecipient implements Audience {
|
||||||
|
|
||||||
public static final DiscordRecipient INSTANCE = new DiscordRecipient();
|
public static final DiscordRecipient INSTANCE = new DiscordRecipient();
|
||||||
|
|
||||||
private DiscordRecipient() {}
|
private DiscordRecipient() {
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user