mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2025-02-11 11:40:41 +00:00
Fix lighting updates for chunks not sent to players
This commit is contained in:
parent
5acd9c5143
commit
fcf2400798
1 changed files with 2 additions and 1 deletions
|
@ -76,6 +76,8 @@ public class SendChunk {
|
|||
map.put(world, list);
|
||||
}
|
||||
list.add(chunk);
|
||||
Object c = methodGetHandleChunk.of(chunk).call();
|
||||
methodInitLighting.of(c).call();
|
||||
}
|
||||
for (PlotPlayer pp : UUIDHandler.getPlayers().values() ) {
|
||||
Plot plot = pp.getCurrentPlot();
|
||||
|
@ -107,7 +109,6 @@ public class SendChunk {
|
|||
continue;
|
||||
}
|
||||
Object c = methodGetHandleChunk.of(chunk).call();
|
||||
methodInitLighting.of(c).call();
|
||||
chunks.remove(chunk);
|
||||
Object con = connection.of(entity).get();
|
||||
// if (dx != 0 || dz != 0) {
|
||||
|
|
Loading…
Reference in a new issue