Skip to content

Commit 1d09cde

Browse files
Fix: compile errors
1 parent b13a2a0 commit 1d09cde

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ neo_version=21.1.212
2424
loader_version_range=[1,)
2525

2626
## Dependency properties
27-
create_version = 6.0.6-98
27+
create_version = 6.0.9-170
2828
create_version_range = [6.0.6,6.1.0)
2929
ponder_version = 1.0.59
3030
flywheel_version = 1.0.4
@@ -53,4 +53,4 @@ mod_group_id=nl.motionlesstrain.createcolonies
5353
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
5454
mod_authors=MotionlessTrain
5555
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
56-
mod_description=A compatibility project between Create and Structurize/Minecolonies
56+
mod_description=A compatibility project between Create and Structurize/Minecolonies

src/main/java/nl/motionlesstrain/createcolonies/hooks/InteractionHook.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static void onPlayerRightClick(PlayerInteractEvent.RightClickBlock evt) {
4444
final BlockState blockStateClicked = world.getBlockState(blockPosClicked);
4545
final ItemStack heldItem = evt.getItemStack();
4646

47-
if (blockHutBuilder.isPresent() && blockStateClicked.is(blockHutBuilder.get()) && clipboard != null && heldItem.is(clipboard)) {
47+
if (blockHutBuilder.isBound() && blockStateClicked.is(blockHutBuilder) && clipboard.isBound() && heldItem.is(clipboard)) {
4848
evt.setCanceled(true);
4949
evt.setCancellationResult(InteractionResult.SUCCESS);
5050

0 commit comments

Comments
 (0)