eclipse plugin: Fix a NullPointerException
This commit is contained in:
parent
90e2a794eb
commit
e311df23b7
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
package org.wesnoth.wml.core;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.wesnoth.utils.Pair;
|
||||
|
@ -37,6 +38,7 @@ public class WMLVariable implements Serializable
|
|||
name_ = name;
|
||||
location_ = location;
|
||||
offset_ = offset;
|
||||
scopes_ = new ArrayList<Pair<Integer,Integer>>();
|
||||
}
|
||||
|
||||
public String getName()
|
||||
|
|
Loading…
Add table
Reference in a new issue