Fix of fixes
This commit is contained in:
parent
9f0ba79d91
commit
56d4318dbe
3 changed files with 25 additions and 7 deletions
|
|
@ -21,7 +21,7 @@ public final class LegacyPing extends JavaPlugin {
|
|||
final int protocol = config.getInt("displayedProtocol", 17);
|
||||
for (int port : ports) {
|
||||
try {
|
||||
this.threads.add(new ServerThread(this.getServer(), host, port, version, protocol));
|
||||
this.threads.add(new ServerThread(this, host, port, version, protocol));
|
||||
} catch (IOException e) {
|
||||
this.getLogger().log(Level.WARNING, "Failed to create ServerSocket", e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue