mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-19 00:55:23 +01:00
Fix NPE in NMSRelighter
This commit is contained in:
parent
479c6c5172
commit
861b10403d
@ -33,9 +33,11 @@ public class NMSRelighter {
|
||||
RelightSkyEntry existing = skyToRelight.get(pair);
|
||||
if (existing != null) {
|
||||
existing.bitmask |= bitmask;
|
||||
if (fix != null) {
|
||||
for (int i = 0; i < fix.length; i++) {
|
||||
existing.fix[i] |= fix[i];
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
skyToRelight.put(pair, new RelightSkyEntry(cx, cz, fix, bitmask));
|
||||
|
Loading…
Reference in New Issue
Block a user