1
mirror of https://github.com/StarWishsama/Slimefun4.git synced 2024-09-19 19:25:48 +00:00

Photovoltaic Cells can no longer be placed

This commit is contained in:
TheBusyBiscuit 2021-04-18 10:11:32 +02:00
parent f91481db1c
commit b20353557f
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@
#### Changes #### Changes
* Renamed "Solar Panel" to "Photovoltaic Cell" to avoid confusions with solar generators * Renamed "Solar Panel" to "Photovoltaic Cell" to avoid confusions with solar generators
* Photovoltaic Cells can no longer be placed
* (API) Removed deprecated "SlimefunBlockHandler" * (API) Removed deprecated "SlimefunBlockHandler"
#### Fixes #### Fixes

View File

@ -771,7 +771,7 @@ public final class SlimefunItemSetup {
new ItemStack[] {new ItemStack(Material.QUARTZ_BLOCK), null, null, null, null, null, null, null, null}) new ItemStack[] {new ItemStack(Material.QUARTZ_BLOCK), null, null, null, null, null, null, null, null})
.register(plugin); .register(plugin);
new SlimefunItem(categories.technicalComponents, SlimefunItems.SOLAR_PANEL, RecipeType.ENHANCED_CRAFTING_TABLE, new UnplaceableBlock(categories.technicalComponents, SlimefunItems.SOLAR_PANEL, RecipeType.ENHANCED_CRAFTING_TABLE,
new ItemStack[] {new ItemStack(Material.GLASS), new ItemStack(Material.GLASS), new ItemStack(Material.GLASS), SlimefunItems.SILICON, SlimefunItems.SILICON, SlimefunItems.SILICON, SlimefunItems.FERROSILICON, SlimefunItems.FERROSILICON, SlimefunItems.FERROSILICON}) new ItemStack[] {new ItemStack(Material.GLASS), new ItemStack(Material.GLASS), new ItemStack(Material.GLASS), SlimefunItems.SILICON, SlimefunItems.SILICON, SlimefunItems.SILICON, SlimefunItems.FERROSILICON, SlimefunItems.FERROSILICON, SlimefunItems.FERROSILICON})
.register(plugin); .register(plugin);