File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/java/nl/motionlesstrain/createcolonies/hooks Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ neo_version=21.1.212
2424loader_version_range =[1,)
2525
2626# # Dependency properties
27- create_version = 6.0.6-98
27+ create_version = 6.0.9-170
2828create_version_range = [6.0.6,6.1.0)
2929ponder_version = 1.0.59
3030flywheel_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.
5454mod_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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments