mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 00:37:52 +00:00
Implement getValue in ClearableRegistry fixing DimensionArgument. (#5809)
Fix DimensionArgument
This commit is contained in:
1 parent
ed6ce87c22
commit
ed3dc8c7d3
1 file changed
+1
-2
@@ -167,7 +167,6 @@ public class ClearableRegistry<T> extends MutableRegistry<T>
|
||||
|
||||
@Override
|
||||
public Optional<T> func_218349_b(ResourceLocation p_218349_1_) {
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
return Optional.ofNullable(map.get(p_218349_1_));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user