mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-19 19:25:48 +00:00
Fixes #2176
This commit is contained in:
parent
2316650256
commit
f32280a4ce
@ -28,6 +28,7 @@
|
||||
|
||||
#### Fixes
|
||||
* Fixed Programmable Androids rotating in the wrong direction
|
||||
* Fixed #2176
|
||||
|
||||
## Release Candidate 15 (01 Aug 2020)
|
||||
|
||||
|
@ -128,6 +128,7 @@ public class Translators {
|
||||
addTranslator("yumjunstar", SupportedLanguage.KOREAN, true);
|
||||
addTranslator("BlWon", SupportedLanguage.KOREAN, true);
|
||||
addTranslator("20181241", SupportedLanguage.KOREAN, true);
|
||||
addTranslator("kudansul", SupportedLanguage.KOREAN, true);
|
||||
|
||||
// Translators - Indonesian
|
||||
addTranslator("diradho", SupportedLanguage.INDONESIAN, false);
|
||||
|
@ -202,7 +202,7 @@ public final class SlimefunItemSetup {
|
||||
private static final Material BLACK_DYE;
|
||||
private static final Material GREEN_DYE;
|
||||
|
||||
private static boolean alreadyRan = false;
|
||||
private static boolean registeredItems = false;
|
||||
|
||||
static {
|
||||
if (SlimefunPlugin.getMinecraftVersion().isAtLeast(MinecraftVersion.MINECRAFT_1_14)) {
|
||||
@ -222,11 +222,11 @@ public final class SlimefunItemSetup {
|
||||
private SlimefunItemSetup() {}
|
||||
|
||||
public static void setup(SlimefunPlugin plugin) {
|
||||
if (alreadyRan) {
|
||||
if (registeredItems) {
|
||||
throw new UnsupportedOperationException("Slimefun Items can only be registered once!");
|
||||
}
|
||||
|
||||
alreadyRan = true;
|
||||
registeredItems = true;
|
||||
DefaultCategories categories = new DefaultCategories();
|
||||
|
||||
new SlimefunItem(categories.weapons, SlimefunItems.GRANDMAS_WALKING_STICK, RecipeType.ENHANCED_CRAFTING_TABLE,
|
||||
@ -2090,7 +2090,8 @@ public final class SlimefunItemSetup {
|
||||
.register(plugin);
|
||||
|
||||
new SlimefunItem(categories.technicalComponents, SlimefunItems.PLASTIC_SHEET, RecipeType.HEATED_PRESSURE_CHAMBER,
|
||||
new ItemStack[] {null, null, null, null, SlimefunItems.OIL_BUCKET, null, null, null, null})
|
||||
new ItemStack[] {null, null, null, null, SlimefunItems.OIL_BUCKET, null, null, null, null},
|
||||
new SlimefunItemStack(SlimefunItems.PLASTIC_SHEET, 8))
|
||||
.register(plugin);
|
||||
|
||||
new UnplaceableBlock(categories.technicalComponents, SlimefunItems.ANDROID_MEMORY_CORE, RecipeType.ENHANCED_CRAFTING_TABLE,
|
||||
@ -2782,7 +2783,8 @@ public final class SlimefunItemSetup {
|
||||
|
||||
new RadioactiveItem(categories.resources, Radioactivity.VERY_HIGH, SlimefunItems.ENRICHED_NETHER_ICE, RecipeType.HEATED_PRESSURE_CHAMBER,
|
||||
new ItemStack[] {SlimefunItems.NETHER_ICE, SlimefunItems.PLUTONIUM, null, null, null, null, null, null, null},
|
||||
new SlimefunItemStack(SlimefunItems.ENRICHED_NETHER_ICE, 4)).register(plugin);
|
||||
new SlimefunItemStack(SlimefunItems.ENRICHED_NETHER_ICE, 4))
|
||||
.register(plugin);
|
||||
|
||||
new ElevatorPlate(categories.gps, SlimefunItems.ELEVATOR_PLATE, RecipeType.ENHANCED_CRAFTING_TABLE,
|
||||
new ItemStack[] {null, new ItemStack(Material.STONE_PRESSURE_PLATE), null, new ItemStack(Material.PISTON), SlimefunItems.ELECTRIC_MOTOR, new ItemStack(Material.PISTON), SlimefunItems.ALUMINUM_BRONZE_INGOT, SlimefunItems.ALUMINUM_BRONZE_INGOT, SlimefunItems.ALUMINUM_BRONZE_INGOT},
|
||||
|
Loading…
Reference in New Issue
Block a user