mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
[Bleeding] Implement setIdleTimeout and getIdleTimeout. Addresses BUKKIT-4932.
This commit is contained in:
1 parent
fd65b29a0c
commit
81919478fc
1 file changed
+8
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user