Skip to content

Commit 40e0003

Browse files
1.7.1b
1 parent 7870318 commit 40e0003

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
### Create: Dragons Plus 1.7.1
1+
## Create: Dragons Plus 1.7.1b
22

3-
#### Update
4-
* Update Russian Translation by @Karbin Drem
3+
### Revert
4+
* Revert last patch for Placebo crash since the issue seems to be not on this side and current patch cause else issue.
55

6-
#### Fix
7-
* Fix an ultra-rare crashing issue with Placebo
6+
Please update from 1.7.1 to this version.
7+
8+
If you encounter another crash and also have Placebo installed, please inform me with complete log, thanks!

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mod_id = create_dragons_plus
1717
mod_artifact_id = create-dragons-plus
1818
mod_name = Create: Dragons Plus
1919
mod_license = LGPL-3.0-or-later
20-
mod_version = 1.7.1
20+
mod_version = 1.7.1b
2121
mod_group_id = plus.dragons.createdragonsplus
2222
mod_authors = DragonsPlus
2323
mod_description = Library mod for DragonsPlusMinecraft Create-addons.

src/main/java/plus/dragons/createdragonsplus/common/CDPCommon.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
import com.simibubi.create.foundation.item.ItemDescription;
2222
import java.util.concurrent.CompletableFuture;
2323
import net.createmod.catnip.lang.FontHelper;
24-
import net.minecraft.Util;
25-
import net.minecraft.data.registries.VanillaRegistries;
24+
import net.minecraft.core.HolderLookup;
2625
import net.minecraft.network.chat.Component;
2726
import net.minecraft.resources.ResourceLocation;
27+
import net.minecraft.server.RegistryLayer;
2828
import net.minecraft.server.packs.PackType;
2929
import net.minecraft.server.packs.repository.Pack.Position;
3030
import net.neoforged.bus.api.IEventBus;
@@ -104,7 +104,7 @@ public void addPackFinders(final AddPackFindersEvent event) {
104104
var type = event.getPackType();
105105
if (type == PackType.SERVER_DATA) {
106106
var pack = new RuntimePackResources("runtime", modContainer, type, Position.TOP, runtimePackTitle, runtimePackDescription);
107-
var registries = CompletableFuture.supplyAsync(VanillaRegistries::createLookup, Util.backgroundExecutor());
107+
var registries = CompletableFuture.<HolderLookup.Provider>completedFuture(RegistryLayer.createRegistryAccess().compositeAccess());
108108
pack.addDataProvider(new CDPRuntimeRecipeProvider(pack.getPackOutput(), registries));
109109
event.addRepositorySource(pack);
110110
}

0 commit comments

Comments
 (0)