Nothing to see here folks 👀

This commit is contained in:
2023-11-25 21:38:04 +02:00
parent 5f33dd06ab
commit 374acec24b
40 changed files with 1313 additions and 9 deletions

View File

@@ -36,7 +36,7 @@ public class FabricNetworkHandler implements CraterNetworkHandler {
}
@Override
public <T extends CraterPacket<T>> void registerPacket(Class<? extends T> clazz, Supplier<T> supplier, PacketDirection packetDirection) {
public <T extends CraterPacket<T>> void registerPacket(Class<T> clazz, Supplier<T> supplier, PacketDirection packetDirection) {
ResourceLocation channelName = this.nextId();
this.packets.put(clazz, new PacketData(clazz, channelName, packetDirection));