Skip to content

Commit 0c44b63

Browse files
CopilotRobotHanzo
andcommitted
Add clarifying comment for duplicate serverName parameter
Co-authored-by: RobotHanzo <36107150+RobotHanzo@users.noreply.github.com>
1 parent 1e94b0e commit 0c44b63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

velocity/src/main/java/com/convallyria/forcepack/velocity/listener/ServerRegistrationListener.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public void onServerRegistered(ServerRegisteredEvent event) {
3939

4040
configs.forEach((id, config) -> {
4141
if (config == null) return;
42+
// serverName is used both as the config name and target server name
4243
plugin.registerResourcePackForServer(config, id, serverName, "server", plugin.getConfig().getBoolean("verify-resource-packs"), serverName, null);
4344
});
4445
return;

0 commit comments

Comments
 (0)