diff --git a/src/main/java/carpetfixes/mixins/coreSystemFixes/ServerWorld_spawnChunksMixin.java b/src/main/java/carpetfixes/mixins/coreSystemFixes/ServerWorld_spawnChunksMixin.java index ef791c64..335711ca 100644 --- a/src/main/java/carpetfixes/mixins/coreSystemFixes/ServerWorld_spawnChunksMixin.java +++ b/src/main/java/carpetfixes/mixins/coreSystemFixes/ServerWorld_spawnChunksMixin.java @@ -16,7 +16,7 @@ public class ServerWorld_spawnChunksMixin { * loaded. The fix is just to make sure that the player list is never * considered empty. */ - @Redirect(method= "tick(Ljava/util/function/BooleanSupplier;)V",at=@At(value="INVOKE",target="Ljava/util/List;isEmpty()Z")) + @Redirect(method= "tick(Ljava/util/function/BooleanSupplier;)V",require=0,at=@At(value="INVOKE",target="Ljava/util/List;isEmpty()Z")) public boolean spawnChunksStayLoaded(List list) { return !CarpetFixesSettings.spawnChunkEntitiesUnloadingFix && list.isEmpty(); } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 0b88a38b..476b56cd 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -13,9 +13,9 @@ "Copetan" ], "contact": { - "homepage": "https://github.com/fxmorin/CarpetFixes", - "sources": "https://github.com/fxmorin/CarpetFixes", - "issues": "https://github.com/fxmorin/CarpetFixes/issues" + "homepage": "https://github.com/fxmorin/carpet-fixes", + "sources": "https://github.com/fxmorin/carpet-fixes", + "issues": "https://github.com/fxmorin/carpet-fixes/issues" }, "license": "CC0-1.0",