3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-11-16 21:10:30 +01:00

Force SpotBugs to shut up here

This method is indeed called...
Dieser Commit ist enthalten in:
Andrew Steinborn 2021-06-06 03:51:42 -04:00
Ursprung b1b3882fab
Commit 9d54a03a4b

Datei anzeigen

@ -68,6 +68,7 @@ import com.velocitypowered.proxy.protocol.packet.title.TitleClearPacket;
import com.velocitypowered.proxy.protocol.packet.title.TitleSubtitlePacket;
import com.velocitypowered.proxy.protocol.packet.title.TitleTextPacket;
import com.velocitypowered.proxy.protocol.packet.title.TitleTimesPacket;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import io.netty.util.collection.IntObjectHashMap;
import io.netty.util.collection.IntObjectMap;
import it.unimi.dsi.fastutil.objects.Object2IntMap;
@ -490,6 +491,7 @@ public enum StateRegistry {
* @param encodeOnly When true packet decoding will be disabled
* @return PacketMapping with the provided arguments
*/
@SuppressFBWarnings({"UPM_UNCALLED_PRIVATE_METHOD"})
private static PacketMapping map(int id, ProtocolVersion version, boolean encodeOnly) {
return map(id, version, null, encodeOnly);
}