Some more cleanup

This commit is contained in:
Mike Primm 2012-01-15 23:56:32 -06:00
parent eb35dbe1a6
commit 8d1def2ea0
3 changed files with 3 additions and 10 deletions

View file

@ -406,10 +406,9 @@ public class NewMapChunkCache implements MapChunkCache {
init = true;
}
}
@SuppressWarnings({ "rawtypes" })
public void setChunks(DynmapWorld dw, List<DynmapChunk> chunks) {
public void setChunks(BukkitWorld dw, List<DynmapChunk> chunks) {
this.dw = dw;
this.w = ((BukkitWorld)dw).getWorld();
this.w = dw.getWorld();
if((getworldhandle != null) && (craftworld == null)) {
try {
craftworld = getworldhandle.invoke(w); /* World.getHandle() */