--- a/net/minecraft/server/dedicated/Settings.java
+++ b/net/minecraft/server/dedicated/Settings.java
@@ -119,7 +119,7 @@
         String s = this.getStringRaw(p_139869_);
         V v = MoreObjects.firstNonNull(s != null ? p_139870_.apply(s) : null, p_139872_);
         this.properties.put(p_139869_, p_139871_.apply(v));
-        return new Settings.MutableValue<>(p_139869_, v, p_139871_);
+        return this.new MutableValue<V>(p_139869_, v, p_139871_);
     }
 
     protected <V> V get(String p_139827_, Function<String, V> p_139828_, UnaryOperator<V> p_139829_, Function<V, String> p_139830_, V p_139831_) {
