*I accidentally deleted this method

This commit is contained in:
Jesse Boyd 2017-02-06 13:58:02 +11:00
parent 314baf869f
commit 82b0722d05
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -448,6 +448,12 @@ public class ForgeQueue_All extends NMSMappedFaweQueue<World, Chunk, ExtendedBlo
return true; return true;
} }
public void setPalette(ExtendedBlockStorage section, BlockStateContainer palette) throws NoSuchFieldException, IllegalAccessException {
Field fieldSection = ExtendedBlockStorage.class.getDeclaredField("data");
fieldSection.setAccessible(true);
fieldSection.set(section, palette);
}
@Override @Override
public boolean hasSky() { public boolean hasSky() {
return !nmsWorld.provider.getHasNoSky(); return !nmsWorld.provider.getHasNoSky();