Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 11:00:04 +01:00
Made SimpleDescription's lists modifiable.
Dieser Commit ist enthalten in:
Ursprung
a957482ee6
Commit
2628e80f41
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
package com.sk89q.worldedit.util.command;
|
package com.sk89q.worldedit.util.command;
|
||||||
|
|
||||||
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -27,8 +28,8 @@ import java.util.List;
|
|||||||
*/
|
*/
|
||||||
public class SimpleDescription implements Description {
|
public class SimpleDescription implements Description {
|
||||||
|
|
||||||
private List<Parameter> parameters = Collections.emptyList();
|
private List<Parameter> parameters = new ArrayList<Parameter>();
|
||||||
private List<String> permissions = Collections.emptyList();
|
private List<String> permissions = new ArrayList<String>();
|
||||||
private String description;
|
private String description;
|
||||||
private String help;
|
private String help;
|
||||||
private String overrideUsage;
|
private String overrideUsage;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren