Skip to content

Commit

Permalink
attempt to fix #49
Browse files Browse the repository at this point in the history
  • Loading branch information
LemmaEOF committed Jul 30, 2020
1 parent 634853e commit 60b52fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def yarnMappings = "1.16.1+build.9:v2"
def loaderVersion = "0.8.8+build.202"

archivesBaseName = "cotton"
version = "1.0.6"
version = "1.0.7"
group = "io.github.cottonmc.cotton"

sourceCompatibility = 1.8
Expand Down
2 changes: 1 addition & 1 deletion modules/cotton-datapack/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ext {
];
}

version = "1.0.6";
version = "1.0.7";
apply from: "../module-base.gradle"

dependencies {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
public class MixinDataPackLoad {


@Inject(method = "loadDataPacks", at = @At(value = "INVOKE", target = "Lnet/minecraft/resource/ResourcePackManager;setEnabledProfiles(Ljava/util/Collection;)V"))
@Inject(method = "loadDataPacks", at = @At(value = "INVOKE", target = "Lnet/minecraft/resource/ResourcePackManager;scanPacks()V"))
private static void addGlobalDataPacks(ResourcePackManager<ResourcePackProfile> resourcePackManager, DataPackSettings dataPackSettings, boolean safeMode, CallbackInfoReturnable<DataPackSettings> info) {
((ResourcePackManagerAccessor)resourcePackManager).getProviders().add(new GlobalResourcePackProvider());
((ResourcePackManagerAccessor)resourcePackManager).getProviders().add(VirtualResourcePackManager.INSTANCE.getCreatorForType(ResourceType.SERVER_DATA));
Expand Down

0 comments on commit 60b52fc

Please sign in to comment.