mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 11:24:11 +01:00
[Bleeding] Implement setIdleTimeout and getIdleTimeout. Addresses BUKKIT-4932.
By: t00thpick1 <t00thpick1dirko@gmail.com>
This commit is contained in:
parent
3f3ce7034c
commit
2d7d0e3bf5
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue