Skip to content

Commit db2a1b7

Browse files
committed
Fix crazy log spam
1 parent 14ca922 commit db2a1b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/lambda/module/modules/network/PacketLogger.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ object PacketLogger : Module(
6060
private val logTicks by setting("Log Ticks", true, "Show game ticks in the log")
6161
private val scope by setting("Scope", Scope.Any, "Scope of packets to log")
6262

63-
val packetList = getInstances<Packet<*>> { println(it.moduleInfo.location); true }
63+
// val packetList = getInstances<Packet<*>>()
6464
// ToDo: Add a packet list
6565
//private val whitelist by setting<String>("Whitelist Packets", emptyList<String>(), emptyList<String>(), "Packets to whitelist", { JsonPrimitive(it) }, { it.asString }) { scope == Scope.Whitelist }
6666
//private val blacklist by setting<String>("Blacklist Packets", emptyList<String>(), emptyList<String>(), "Packets to blacklist", { JsonPrimitive(it) }, { it.asString }) { scope == Scope.Blacklist }

0 commit comments

Comments
 (0)