Made SimpleDescription's lists modifiable.

This commit is contained in:
sk89q 2014-06-28 18:42:25 -07:00
parent a957482ee6
commit 2628e80f41

View File

@ -19,6 +19,7 @@
package com.sk89q.worldedit.util.command;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
@ -27,8 +28,8 @@ import java.util.List;
*/
public class SimpleDescription implements Description {
private List<Parameter> parameters = Collections.emptyList();
private List<String> permissions = Collections.emptyList();
private List<Parameter> parameters = new ArrayList<Parameter>();
private List<String> permissions = new ArrayList<String>();
private String description;
private String help;
private String overrideUsage;