Turn back on loading of unpopulated chunks - flag in CB doesn't appear

to be reliable
This commit is contained in:
Mike Primm 2012-08-09 17:52:10 -05:00
parent fca05e399a
commit 9e29cb8e44

View File

@ -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;