Don't send sky and emitted lights
This commit is contained in:
parent
d7b8b23030
commit
6cb4ccc42b
@ -819,10 +819,6 @@ public class DisguiseUtilities {
|
|||||||
int z = 1 + face.getModZ();
|
int z = 1 + face.getModZ();
|
||||||
|
|
||||||
setType.invoke(chunkSection, x, 0, z, fromLegacyData.invoke(block, face.ordinal()));
|
setType.invoke(chunkSection, x, 0, z, fromLegacyData.invoke(block, face.ordinal()));
|
||||||
|
|
||||||
setSky.invoke(chunkSection, x, 0, z, 0);
|
|
||||||
|
|
||||||
setEmitted.invoke(chunkSection, x, 0, z, 0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Object[] array = (Object[]) Array.newInstance(chunkSection.getClass(), 16);
|
Object[] array = (Object[]) Array.newInstance(chunkSection.getClass(), 16);
|
||||||
|
Loading…
Reference in New Issue
Block a user