geforkt von Mirrors/FastAsyncWorldEdit
Set the expiration time to the current time plus the expriation grace by default
Dieser Commit ist enthalten in:
Ursprung
0cb0358bd2
Commit
92523a2564
@ -55,7 +55,7 @@ public class LocalSession {
|
|||||||
|
|
||||||
private LocalConfiguration config;
|
private LocalConfiguration config;
|
||||||
|
|
||||||
private long expirationTime = 0;
|
private long expirationTime = System.currentTimeMillis() + EXPIRATION_GRACE;
|
||||||
private RegionSelector selector = new CuboidRegionSelector();
|
private RegionSelector selector = new CuboidRegionSelector();
|
||||||
private boolean placeAtPos1 = false;
|
private boolean placeAtPos1 = false;
|
||||||
private LinkedList<EditSession> history = new LinkedList<EditSession>();
|
private LinkedList<EditSession> history = new LinkedList<EditSession>();
|
||||||
@ -584,7 +584,7 @@ public class LocalSession {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public void describeCUI(LocalPlayer player) {
|
public void describeCUI(LocalPlayer player) {
|
||||||
if (!hasCUISupport) {
|
if (!hasCUISupport) {
|
||||||
return;
|
return;
|
||||||
@ -622,8 +622,8 @@ public class LocalSession {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the client's CUI protocol version
|
* Gets the client's CUI protocol version
|
||||||
*
|
*
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public int getCUIVersion() {
|
public int getCUIVersion() {
|
||||||
return cuiVersion;
|
return cuiVersion;
|
||||||
@ -631,8 +631,8 @@ public class LocalSession {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the client's CUI protocol version
|
* Sets the client's CUI protocol version
|
||||||
*
|
*
|
||||||
* @param CUIVersion
|
* @param CUIVersion
|
||||||
*/
|
*/
|
||||||
public void setCUIVersion(int CUIVersion) {
|
public void setCUIVersion(int CUIVersion) {
|
||||||
this.cuiVersion = CUIVersion;
|
this.cuiVersion = CUIVersion;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren