Skip to content

Commit ec6de9a

Browse files
committed
made craft accessible and fixed words
1 parent f7d6ea6 commit ec6de9a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<modelVersion>4.0.0</modelVersion>
77
<groupId>io.github.mooy1</groupId>
88
<artifactId>InfinityLib</artifactId>
9-
<version>1.1.2</version>
9+
<version>1.1.3</version>
1010

1111
<properties>
1212
<maven.compiler.source>1.8</maven.compiler.source>

src/main/java/io/github/mooy1/infinitylib/commands/InfoCommand.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ final class InfoCommand extends SubCommand {
1717
private final String[] message;
1818

1919
InfoCommand(SlimefunAddon addon) {
20-
super("info", "Gives addon and machines version and discord links");
20+
super("info", "Gives addon and slimefun version and discord links");
2121
message = new String[] {
2222
"",
2323
ChatColors.color("&b" + addon.getName() + " Info"),
2424
ChatColors.color("&bSlimefun Version: &7" + Objects.requireNonNull(Slimefun.instance()).getPluginVersion()),
25-
ChatColors.color("&bSlimefun Discord: &7Discord.gg/machines"),
25+
ChatColors.color("&bSlimefun Discord: &7Discord.gg/slimefun"),
2626
ChatColors.color("&bAddon Version: &7" + addon.getPluginVersion()),
2727
ChatColors.color("&bAddon Community: &7Discord.gg/SqD3gg5SAU"),
2828
ChatColors.color("&bGithub: &7" + addon.getBugTrackerURL()),

src/main/java/io/github/mooy1/infinitylib/machines/CraftingBlock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected void onNewInstance(BlockMenu menu, Block b) {
6666
menu.addMenuClickHandler(layout.statusSlot(), (player, i, itemStack, clickAction) -> craft(b, menu, player));
6767
}
6868

69-
private boolean craft(Block b, BlockMenu menu, Player p) {
69+
protected final boolean craft(Block b, BlockMenu menu, Player p) {
7070
if (canCraft(b, p)) {
7171
ItemStack[] input = getInput(menu);
7272
CraftingBlockRecipe recipe = getOutput(b, input);

0 commit comments

Comments
 (0)