Turn back on loading of unpopulated chunks - flag in CB doesn't appear
to be reliable
This commit is contained in:
parent
c1b50eb70c
commit
bb4cc1928d
1 changed files with 8 additions and 7 deletions
|
|
@ -808,13 +808,14 @@ public class NewMapChunkCache implements MapChunkCache {
|
||||||
}
|
}
|
||||||
/* Test if chunk isn't populated */
|
/* Test if chunk isn't populated */
|
||||||
boolean populated = true;
|
boolean populated = true;
|
||||||
if((nmschunk != null) && (doneflag != null)) {
|
//TODO: figure out why this doesn't appear to be reliable in Bukkit
|
||||||
try {
|
//if((nmschunk != null) && (doneflag != null)) {
|
||||||
populated = doneflag.getBoolean(nmschunk);
|
// try {
|
||||||
} catch (IllegalArgumentException e) {
|
// populated = doneflag.getBoolean(nmschunk);
|
||||||
} catch (IllegalAccessException e) {
|
// } catch (IllegalArgumentException e) {
|
||||||
}
|
// } catch (IllegalAccessException e) {
|
||||||
}
|
// }
|
||||||
|
//}
|
||||||
if(!vis) {
|
if(!vis) {
|
||||||
if(hidestyle == HiddenChunkStyle.FILL_STONE_PLAIN)
|
if(hidestyle == HiddenChunkStyle.FILL_STONE_PLAIN)
|
||||||
ss = STONE;
|
ss = STONE;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue