Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-24 18:10:08 +01:00
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;
|
InputStream in = null;
|
||||||
try {
|
try {
|
||||||
URI uri;
|
URI uri;
|
||||||
|
if (formatName.startsWith("url:")) {
|
||||||
|
String t = filename;
|
||||||
|
filename = formatName;
|
||||||
|
formatName = t;
|
||||||
|
}
|
||||||
if (filename.startsWith("url:")) {
|
if (filename.startsWith("url:")) {
|
||||||
if (!actor.hasPermission("worldedit.schematic.load.web")) {
|
if (!actor.hasPermission("worldedit.schematic.load.web")) {
|
||||||
actor.print(Caption.of("fawe.error.no-perm", "worldedit.schematic.load.web"));
|
actor.print(Caption.of("fawe.error.no-perm", "worldedit.schematic.load.web"));
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren