mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Made SimpleDescription's lists modifiable.
This commit is contained in:
parent
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;
|
||||||
|
Loading…
Reference in New Issue
Block a user