Permalink
Browse files

Fixed some parameterization issues.

  • Loading branch information...
1 parent aeaad41 commit 1ff17046971943a1a801b9d7e0764509423a25ff @gmcferrin gmcferrin committed Jan 1, 2013
@@ -22,8 +22,8 @@
private int cx;
private int cz;
private UUID worldUid;
- private List spawnedMobs = new ArrayList<UUID>();
- private List spawnedPets = new ArrayList<UUID>();
+ private List<UUID> spawnedMobs = new ArrayList<UUID>();
+ private List<UUID> spawnedPets = new ArrayList<UUID>();
transient private int worldHeight;
transient private int xBitShifts;
transient private int zBitShifts;
@@ -214,6 +214,7 @@ private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundE
}
if(fileVersionNumber >= 6) {
+ //What do we want to do about this? These casts are unchecked.
spawnedMobs = (ArrayList<UUID>) in.readObject();
spawnedPets = (ArrayList<UUID>) in.readObject();
}

0 comments on commit 1ff1704

Please sign in to comment.