Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
[update] 1.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
topi-banana committed May 8, 2024
1 parent ddd50a5 commit 0c4a6a2
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.15.7

# Mod Properties
mod_version = 1.0.9
mod_version = 1.0.11
maven_group = org.taichiServer
archives_base_name = taichi-tweaks

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,13 +177,15 @@ private void CopyConfig(String name) throws IOException {
}
private void CopyDir(Path path1, Path path2) throws IOException{
File[] folders1 = path1.toFile().listFiles();
for(File folder1: folders1){
String foder1name = folder1.toPath().getFileName().toString();
for(File folderfile1: folders1){
Path folder1 = folderfile1.toPath();
String foder1name = folder1.getFileName().toString();
Path folder2 = path2.resolve(foder1name);
if( folderfile1.isDirectory() && !folder2.toFile().exists() ) { folder2.toFile().mkdir(); }
try {
Files.copy(folder1.toPath(), folder2, StandardCopyOption.REPLACE_EXISTING);
Files.copy(folder1, folder2, StandardCopyOption.REPLACE_EXISTING);
} catch (DirectoryNotEmptyException e){
CopyDir(folder1.toPath(), folder2);
CopyDir(folder1, folder2);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
public class TaichiTweaks implements ClientModInitializer {
public static final Logger LOGGER = LoggerFactory.getLogger("TaichiTweaks");
public static final String MOD_ID = "taichi-tweaks";
public static final String VERSION = "1.0.0-SNAPSHOT";
public static final String VERSION = "1.0.11";


@Override
Expand Down
6 changes: 5 additions & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
"depends": {
"fabricloader": ">=${loader_version}",
"fabric": "*",
"minecraft": "${minecraft_version}"
"minecraft": "${minecraft_version}",
"litematica": "*",
"tweakeroo": "*",
"tweakermore": "*",
"taichi-carpet": "*"
}
}

0 comments on commit 0c4a6a2

Please sign in to comment.