ソースを参照

Remove hidden interval option

TfT_02 11 年 前
コミット
1c4ac1d766

+ 0 - 6
src/main/java/com/gmail/nossr50/config/HiddenConfig.java

@@ -12,7 +12,6 @@ public class HiddenConfig {
     private static int conversionRate;
     private static boolean useEnchantmentBuffs;
     private static boolean resendChunksAfterBlockAbility;
-    private static int uuidConvertInterval;
     private static int uuidConvertAmount;
 
     public HiddenConfig(String fileName) {
@@ -35,7 +34,6 @@ public class HiddenConfig {
             conversionRate = config.getInt("Options.ConversionRate", 1);
             useEnchantmentBuffs = config.getBoolean("Options.EnchantmentBuffs", true);
             resendChunksAfterBlockAbility = config.getBoolean("Options.RefreshChunks", false);
-            uuidConvertInterval = config.getInt("Options.UUIDConvertInterval", 30);
             uuidConvertAmount = config.getInt("Options.UUIDConvertAmount", 5);
         }
     }
@@ -56,10 +54,6 @@ public class HiddenConfig {
         return resendChunksAfterBlockAbility;
     }
 
-    public int getUUIDConvertInterval() {
-        return uuidConvertInterval;
-    }
-
     public int getUUIDConvertAmount() {
         return uuidConvertAmount;
     }

+ 0 - 2
src/main/resources/hidden.yml

@@ -12,7 +12,5 @@ Options:
     # true to enable refreshing of chunks around a player at the end of Super Breaker, Giga Drill Breaker, and Berserk.  This should fix blocks being broken client side, but not server-side
     RefreshChunks: false
 
-    # The interval at which the server updates a couple of users to get their UUID, in seconds
-    UUIDConvertInterval: 30
     # Amount of users to convert every interval
     UUIDConvertAmount: 100