Skip to content

Commit

Permalink
1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinhong11 committed Mar 2, 2024
1 parent 00d0bf3 commit 59e6dfd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>org.lins.mmmjjkx</groupId>
<artifactId>RykenSlimefunCustomizer</artifactId>
<version>1.2.2</version>
<version>1.3</version>
<packaging>jar</packaging>

<name>RykenSlimefunCustomizer</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
import io.github.thebusybiscuit.slimefun4.core.handlers.ItemUseHandler;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.Nullable;
import org.lins.mmmjjkx.rykenslimefuncustomizer.objects.customs.parent.CustomItem;
import org.lins.mmmjjkx.rykenslimefuncustomizer.objects.js.JavaScriptEval;

public class CustomEnergyItem extends CustomUnplaceableItem implements Rechargeable {
public class CustomEnergyItem extends CustomItem implements Rechargeable {
private final float capacity;

public CustomEnergyItem(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, ItemStack[] recipe, float capacity, @Nullable JavaScriptEval eval) {
super(itemGroup, item, recipeType, recipe, eval);
super(itemGroup, item, recipeType, recipe);

this.capacity = capacity;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public CustomItem readEach(String s, ProjectAddon addon) {
}
}

CustomUnplaceableItem instance;
CustomItem instance;

boolean energy = section.contains("energy_capacity");
if (energy) {
Expand Down

0 comments on commit 59e6dfd

Please sign in to comment.