File tree Expand file tree Collapse file tree
common/src/main/java/com/github/litermc/vtil Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66public final class Constants {
77 public static final String MOD_ID = "vtil" ;
88 public static final String MOD_NAME = "vtil" ;
9- public static final String MOD_VERSION = "0.5.7 " ;
9+ public static final String MOD_VERSION = "0.5.8 " ;
1010 public static final Logger LOG = LoggerFactory .getLogger (MOD_NAME );
1111
1212 private Constants () {}
Original file line number Diff line number Diff line change @@ -10,8 +10,9 @@ public final class Config {
1010
1111 /**
1212 * Reuse deleted ship's chunks to assemble new ships when possible.
13+ * Warn: Compatible issues may occur if enabled, only report issues when this is set to false.
1314 */
14- public static boolean reuseShipChunks = true ;
15+ public static boolean reuseShipChunks = false ;
1516
1617 /**
1718 * Recycle ships that no longer contains any blocks.
Original file line number Diff line number Diff line change 11package com .github .litermc .vtil .config ;
22
3+ import com .github .litermc .vtil .Constants ;
34import com .github .litermc .vtil .platform .PlatformHelper ;
45
56import java .nio .file .Path ;
@@ -28,7 +29,10 @@ private ConfigSpec() {}
2829 .push ("recycle" );
2930
3031 REUSE_SHIP_CHUNKS = builder
31- .comment ("Reuse deleted ship's chunks to assemble new ships when possible." )
32+ .comment (
33+ "Reuse deleted ship's chunks to assemble new ships when possible.\n " +
34+ "Warn: Compatible issues may occur if enabled, only report issues when this is set to false."
35+ )
3236 .define ("reuse_ship_chunks" , Config .reuseShipChunks );
3337
3438 RECYCLE_EMPTY_SHIPS = builder
@@ -46,6 +50,7 @@ private ConfigSpec() {}
4650 public static void syncServer (Path path ) {
4751 if (Config .enableShadowMixins ) {
4852 Config .reuseShipChunks = REUSE_SHIP_CHUNKS .get ();
53+ Constants .LOG .info ("vtil.reuse_ship_chunks = {}" , Config .reuse_ship_chunks );
4954 Config .recycleEmptyShips = RECYCLE_EMPTY_SHIPS .get ();
5055 } else {
5156 Config .reuseShipChunks = false ;
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ org.gradle.jvmargs=-Xmx6G
66org.gradle.daemon =true
77
88# Project
9- version =0.5.7
9+ version =0.5.8
1010group =com.github.litermc.vtil
1111java_version =17
1212
You can’t perform that action at this time.
0 commit comments