mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 01:37:37 +00:00
Fix inconsistency with legacy regarding loading schematics from URL
This commit is contained in:
parent
68deed1469
commit
bd4a3a3efd
@ -204,6 +204,11 @@ public class SchematicCommands {
|
||||
InputStream in = null;
|
||||
try {
|
||||
URI uri;
|
||||
if (formatName.startsWith("url:")) {
|
||||
String t = filename;
|
||||
filename = formatName;
|
||||
formatName = t;
|
||||
}
|
||||
if (filename.startsWith("url:")) {
|
||||
if (!actor.hasPermission("worldedit.schematic.load.web")) {
|
||||
actor.print(Caption.of("fawe.error.no-perm", "worldedit.schematic.load.web"));
|
||||
|
Loading…
Reference in New Issue
Block a user