Skip to content

Commit

Permalink
Updated to 1.19.3
Browse files Browse the repository at this point in the history
  • Loading branch information
PotatoPresident committed Dec 22, 2022
1 parent 6c8772c commit 0741e2b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.19.2
yarn_mappings=1.19.2+build.28
loader_version=0.14.10
minecraft_version=1.19.3
yarn_mappings=1.19.3+build.4
loader_version=0.14.12
# Mod Properties
mod_version=1.1.6
mod_version=1.1.7
maven_group=us.potatoboy
archives_base_name=htm
# Dependencies
# check this on https://modmuss50.me/fabric.html
fabric_version=0.66.0+1.19.2
translation_version=1.4.18+1.19.2
fabric_version=0.69.1+1.19.3
translation_version=1.4.19+1.19.3
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
import net.minecraft.block.entity.BlockEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemPlacementContext;
import net.minecraft.registry.Registries;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.text.Text;
import net.minecraft.util.ActionResult;
import net.minecraft.util.Hand;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Direction;
import net.minecraft.util.registry.Registry;
import net.minecraft.world.World;

import java.util.Optional;
Expand Down Expand Up @@ -89,7 +89,7 @@ private static ActionResult onPlace(PlayerEntity playerEntity, ItemPlacementCont

BlockEntity blockEntity = world.getBlockEntity(pos);
if (blockEntity instanceof LockableObject) {
if (HTM.config.autolockingContainers.contains(Registry.BLOCK.getId(state.getBlock()))) {
if (HTM.config.autolockingContainers.contains(Registries.BLOCK.getId(state.getBlock()))) {
if (InteractionManager.getLock((ServerWorld) world, blockEntity).isLocked())
return ActionResult.PASS;

Expand Down

0 comments on commit 0741e2b

Please sign in to comment.