Don't send sky and emitted lights

This commit is contained in:
libraryaddict 2017-06-09 09:07:57 +12:00
parent d7b8b23030
commit 6cb4ccc42b

View File

@ -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);