Skip to content

Commit

Permalink
Small fix to Block listener
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeebiss committed Aug 30, 2013
1 parent 5d0f6ba commit abe66c5
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -33,7 +33,7 @@ enum BlockType { BUILD, COLLECT, BREAK }
//
//The blocks
//
List<String> blocks = new ArrayList<String>();
dList blocks;

//
//The counters
Expand Down Expand Up @@ -93,7 +93,7 @@ public void onSave() {
@Override
public void onLoad() {
type = BlockType.valueOf(((String) get("Type")));
blocks = (List<String>) get("Blocks");
blocks = new dList((List<String>) get("Blocks"));
required = (Integer) get("Quantity");
blocks_so_far = (Integer) get("Current Blocks");
region = (String) get("Region");
Expand Down

0 comments on commit abe66c5

Please sign in to comment.