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