mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-01-21 00:01:51 +01:00
Fixed issue raised in #1
This commit is contained in:
parent
6564f4fa73
commit
c7e9df973c
1 changed files with 4 additions and 3 deletions
|
@ -21,14 +21,15 @@ public class BogeySizes {
|
|||
BOGEY_SIZES.add(LARGE);
|
||||
}
|
||||
|
||||
public static void addSize(String modId, String name, float size) {
|
||||
public static BogeySize addSize(String modId, String name, float size) {
|
||||
ResourceLocation location = new ResourceLocation(modId, name);
|
||||
addSize(location, size);
|
||||
return addSize(location, size);
|
||||
}
|
||||
|
||||
public static void addSize(ResourceLocation location, float size) {
|
||||
public static BogeySize addSize(ResourceLocation location, float size) {
|
||||
BogeySize customSize = new BogeySize(location, size);
|
||||
BOGEY_SIZES.add(customSize);
|
||||
return customSize;
|
||||
}
|
||||
|
||||
public static List<BogeySize> getAllSizesSmallToLarge() {
|
||||
|
|
Loading…
Add table
Reference in a new issue