geforkt von Mirrors/FastAsyncWorldEdit
Fix inconsistency with legacy regarding loading schematics from URL
Dieser Commit ist enthalten in:
Ursprung
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"));
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren