Package com.sk89q.worldedit.function.pattern

Examples of com.sk89q.worldedit.function.pattern.ClipboardPattern


            if (session != null) {
                try {
                    ClipboardHolder holder = session.getClipboard();
                    Clipboard clipboard = holder.getClipboard();
                    return new ClipboardPattern(clipboard);
                } catch (EmptyClipboardException e) {
                    throw new InputParseException("To use #clipboard, please first copy something to your clipboard");
                }
            } else {
                throw new InputParseException("No session is available, so no clipboard is available");
View Full Code Here

TOP

Related Classes of com.sk89q.worldedit.function.pattern.ClipboardPattern

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.