Some more cleanup
This commit is contained in:
parent
eb35dbe1a6
commit
8d1def2ea0
3 changed files with 3 additions and 10 deletions
|
|
@ -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() */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue