Skip to content
This repository was archived by the owner on Oct 31, 2024. It is now read-only.

Commit c6d2b10

Browse files
committed
fix: unable to give Vault item in multiplayer
1 parent 499a948 commit c6d2b10

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed

.github/workflows/release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- '1.20'
7+
- '1.20.2'
88
paths-ignore:
99
- 'README.md'
1010
- 'LICENSE'

common/src/main/java/com/github/franckyi/ibeeditor/client/screen/controller/entry/vault/VaultItemEntryController.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void bind() {
2626
view.getItemView().itemProperty().bind(model.itemStackProperty());
2727
view.getLabel().labelProperty().bind(model.itemStackProperty().map(ItemStack::getHoverName));
2828
view.getButtonBox().getChildren().remove(view.getResetButton());
29-
view.getGiveItemButton().setDisable(!Minecraft.getInstance().player.isCreative() || !ClientContext.isModInstalledOnServer());
29+
view.getGiveItemButton().setDisable(!(Minecraft.getInstance().player.isCreative() || ClientContext.isModInstalledOnServer()));
3030
view.getGiveItemButton().onAction(() -> {
3131
int slot = ClientUtil.findSlot(model.getItemStack());
3232
if (Minecraft.getInstance().player.isCreative()) {

forge/src/main/resources/META-INF/mods.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ logoFile = "logo.png"
88
modId = "ibeeditor"
99
version = "${version}"
1010
displayName = "IBE Editor"
11-
updateJSONURL = "https://raw.githubusercontent.com/skyecodes/IBE-Editor/1.20/forge_update.json"
11+
updateJSONURL = "https://raw.githubusercontent.com/skyecodes/IBE-Editor/1.20.2/forge_update.json"
1212
displayURL = "https://www.curseforge.com/minecraft/mc-mods/ibe-editor"
1313
credits = "Emex (logo)"
1414
authors = "skyecodes"

forge_update.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"1.20-recommended": "2.2.3",
66
"1.20.1-latest": "2.2.3",
77
"1.20.1-recommended": "2.2.3",
8-
"1.20.2-latest": "2.2.6",
9-
"1.20.2-recommended": "2.2.6"
8+
"1.20.2-latest": "2.2.8",
9+
"1.20.2-recommended": "2.2.8"
1010
}
1111
}

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ org.gradle.daemon=false
44
# IBE Editor
55
minecraft_version=1.20.2
66
archives_base_name=IBEEditor
7-
mod_version=2.2.6
7+
mod_version=2.2.8
88
maven_group=com.github.franckyi.ibeeditor
99
# Fabric https://fabricmc.net/develop/
1010
fabric_loader_version=0.14.24

neoforge/src/main/resources/META-INF/mods.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ logoFile = "logo.png"
88
modId = "ibeeditor"
99
version = "${version}"
1010
displayName = "IBE Editor"
11-
updateJSONURL = "https://raw.githubusercontent.com/skyecodes/IBE-Editor/1.20/forge_update.json"
11+
updateJSONURL = "https://raw.githubusercontent.com/skyecodes/IBE-Editor/1.20.2/forge_update.json"
1212
displayURL = "https://www.curseforge.com/minecraft/mc-mods/ibe-editor"
1313
credits = "Emex (logo)"
1414
authors = "skyecodes"

versions.json

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
{
2+
"2.2.8": {
3+
"type": "release",
4+
"changelog": "* feat: added Armor Trims hide flag\n* fix: unremovable lore bug\n* fix: unable to give Vault item in multiplayer"
5+
},
26
"2.2.6": {
37
"type": "release",
48
"changelog": "* fix: potion effects not working on 1.20.2 (#88)"

0 commit comments

Comments
 (0)