You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the automatic casts confuse/surprise some people (cf. NeoForge server).
What do you guys think? Should we keep config.get<T> or require an explicit type, such as config.getXYZ or config.get(Class<T>)?
The text was updated successfully, but these errors were encountered:
TheElectronWill
changed the title
Consider removing the generic cast from UnmodifiableConfig.get
Consider removing the generic cast from UnmodifiableConfig.get (WDYT?)
May 12, 2024
It seems that the automatic casts confuse/surprise some people (cf. NeoForge server).
What do you guys think? Should we keep
config.get<T>
or require an explicit type, such asconfig.getXYZ
orconfig.get(Class<T>)
?The text was updated successfully, but these errors were encountered: