Skip to content

Commit

Permalink
Fix mixin and don't publish to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
Wyn-Price committed Nov 12, 2022
1 parent c2a3c25 commit 45597e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release_fabric.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
if: ${{ runner.os != 'Windows' }}
run: chmod +x ./gradlew
- name: Build
run: ./gradlew :Fabric:generateChangelog :Fabric:build :Fabric:publish :Fabric:curseforge :Fabric:github :Fabric:modrinth --stacktrace --parallel -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}"
run: ./gradlew :Fabric:generateChangelog :Fabric:build :Fabric:curseforge :Fabric:github :Fabric:modrinth --stacktrace --parallel -PlastTag="v${{ github.event.inputs.previousVersion }}" -PcurrentTag="v${{ github.event.inputs.version }}"
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void setBackpackStacks(NonNullList<ItemStack> stacks) {
this.backpackStacks = stacks;
}

@Inject(method = "blockActionRestricted(Lnet/minecraft/world/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/GameType;)Z", at = @At("HEAD"), cancellable = true)
@Inject(method = "blockActionRestricted(Lnet/minecraft/world/level/Level;Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/GameType;)Z", at = @At("HEAD"), cancellable = true)
public void blockActionRestricted(Level world, BlockPos pos, GameType gameMode, CallbackInfoReturnable<Boolean> info) {
if(world.getBlockState(pos).getBlock() instanceof BaseTentBlock) {
int slotIndex = -1;
Expand Down

0 comments on commit 45597e0

Please sign in to comment.