mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 05:05:16 +01:00
Turn back on loading of unpopulated chunks - flag in CB doesn't appear
to be reliable
This commit is contained in:
parent
fca05e399a
commit
9e29cb8e44
@ -808,13 +808,14 @@ public class NewMapChunkCache implements MapChunkCache {
|
||||
}
|
||||
/* Test if chunk isn't populated */
|
||||
boolean populated = true;
|
||||
if((nmschunk != null) && (doneflag != null)) {
|
||||
try {
|
||||
populated = doneflag.getBoolean(nmschunk);
|
||||
} catch (IllegalArgumentException e) {
|
||||
} catch (IllegalAccessException e) {
|
||||
}
|
||||
}
|
||||
//TODO: figure out why this doesn't appear to be reliable in Bukkit
|
||||
//if((nmschunk != null) && (doneflag != null)) {
|
||||
// try {
|
||||
// populated = doneflag.getBoolean(nmschunk);
|
||||
// } catch (IllegalArgumentException e) {
|
||||
// } catch (IllegalAccessException e) {
|
||||
// }
|
||||
//}
|
||||
if(!vis) {
|
||||
if(hidestyle == HiddenChunkStyle.FILL_STONE_PLAIN)
|
||||
ss = STONE;
|
||||
|
Loading…
Reference in New Issue
Block a user