mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 04:48:34 +00:00
*
A tribute to Jesse
This commit is contained in:
@ -62,8 +62,8 @@ public class ClipboardHolder {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all currently held clipboards
|
||||
* @return
|
||||
* Gets all currently held clipboards.
|
||||
* @return all clipboards being held.
|
||||
*/
|
||||
public List<Clipboard> getClipboards() {
|
||||
return Collections.singletonList(getClipboard());
|
||||
@ -74,10 +74,10 @@ public class ClipboardHolder {
|
||||
}
|
||||
|
||||
/**
|
||||
* Get all end ClipboardHolders<br/>
|
||||
* Gets all end ClipboardHolders<br/>
|
||||
* - Usually this will return itself.<br/>
|
||||
* - If this is a multi clipboard, it will return the children
|
||||
* @return Set of end ClipboardHolders
|
||||
* @return a List of end ClipboardHolders
|
||||
*/
|
||||
public List<ClipboardHolder> getHolders() {
|
||||
return Collections.singletonList(this);
|
||||
|
@ -65,9 +65,10 @@ import org.slf4j.LoggerFactory;
|
||||
*/
|
||||
public class SessionManager {
|
||||
|
||||
public static int EXPIRATION_GRACE = 0;
|
||||
private static final int FLUSH_PERIOD = 1000 * 60;
|
||||
private static final ListeningExecutorService executorService = MoreExecutors.listeningDecorator(EvenMoreExecutors.newBoundedCachedThreadPool(0, 1, 5));
|
||||
public static int EXPIRATION_GRACE = 10 * 60 * 1000;
|
||||
private static final int FLUSH_PERIOD = 1000 * 30;
|
||||
private static final ListeningExecutorService executorService = MoreExecutors.listeningDecorator(
|
||||
EvenMoreExecutors.newBoundedCachedThreadPool(0, 1, 5, "WorldEdit Session Saver - %s"));
|
||||
private static final Logger log = LoggerFactory.getLogger(SessionManager.class);
|
||||
private static boolean warnedInvalidTool;
|
||||
|
||||
|
@ -23,7 +23,6 @@ import com.sk89q.worldedit.IncompleteRegionException;
|
||||
import com.sk89q.worldedit.LocalSession;
|
||||
import com.sk89q.worldedit.math.BlockVector2;
|
||||
import com.sk89q.worldedit.math.BlockVector3;
|
||||
import com.sk89q.worldedit.math.MutableBlockVector3;
|
||||
import com.sk89q.worldedit.math.Vector3;
|
||||
import com.sk89q.worldedit.regions.NullRegion;
|
||||
import com.sk89q.worldedit.regions.Region;
|
||||
|
Reference in New Issue
Block a user