mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-26 07:06:44 +01:00
Fix lighting updates for chunks not sent to players
This commit is contained in:
parent
5acd9c5143
commit
fcf2400798
@ -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 New Issue
Block a user