mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-27 18:15:44 -05:00
b5d379b004
* Allow OptionalInt in BiomeModificationContext For some reason, vanilla uses `Optional<Integer>` instead of the preferred `OptionalInt`. Add an override that allows passing `OptionalInt`. For consistency with vanilla, the old method is NOT deprecated. * Do not rely on Identifier identity when checking registration `Identifier` is a value-based class and should never be compared using `==`. Luckily, this does not cause bugs right now. (Using `equals` is worse, since it'll prevent spawning pigs.) Instead use the proper method of checking if an entry is registered. * Fix #2079 |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
build.gradle |