mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 12:06:15 +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);
|
map.put(world, list);
|
||||||
}
|
}
|
||||||
list.add(chunk);
|
list.add(chunk);
|
||||||
|
Object c = methodGetHandleChunk.of(chunk).call();
|
||||||
|
methodInitLighting.of(c).call();
|
||||||
}
|
}
|
||||||
for (PlotPlayer pp : UUIDHandler.getPlayers().values() ) {
|
for (PlotPlayer pp : UUIDHandler.getPlayers().values() ) {
|
||||||
Plot plot = pp.getCurrentPlot();
|
Plot plot = pp.getCurrentPlot();
|
||||||
@ -107,7 +109,6 @@ public class SendChunk {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
Object c = methodGetHandleChunk.of(chunk).call();
|
Object c = methodGetHandleChunk.of(chunk).call();
|
||||||
methodInitLighting.of(c).call();
|
|
||||||
chunks.remove(chunk);
|
chunks.remove(chunk);
|
||||||
Object con = connection.of(entity).get();
|
Object con = connection.of(entity).get();
|
||||||
// if (dx != 0 || dz != 0) {
|
// if (dx != 0 || dz != 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user