3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-16 04:50:05 +01:00

[Bleeding] Implement setIdleTimeout and getIdleTimeout. Addresses BUKKIT-4932.

Dieser Commit ist enthalten in:
t00thpick1 2014-01-07 01:33:16 -05:00 committet von Nate Mortensen
Ursprung fd65b29a0c
Commit 81919478fc

Datei anzeigen

@ -1452,4 +1452,12 @@ public final class CraftServer implements Server {
return new CraftIconCache("data:image/png;base64," + bytebuf1.toString(Charsets.UTF_8));
}
public void setIdleTimeout(int threshold) {
console.d(threshold); // Should be setIdleTimeout
}
public int getIdleTimeout() {
return console.aq(); // Should be getIdleTimeout
}
}