Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexModGuy committed Oct 20, 2024
1 parent d372957 commit 59fb47a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public static void tick(Level level, BlockPos pos, BlockState state, ConversionC
entity.setConvertingToBiome(BiomeTreatItem.getCaveBiome(item.getItem()));
entity.setFilledLevel(1);
entity.rerollWantedItem();
item.getItem().shrink(1);
flag = true;
} else if (item.getItem().is(entity.wantStack.getItem())) {
flag = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void tick() {
this.entityData.set(OWNER_ID, owner == null ? -1 : owner.getId());
this.entityData.set(HOOKED_ENTITY_ID, hooked == null ? -1 : hooked.getId());
boolean reelingFromHook = isOwnerHoldingHook(false);
if (!isReeling() && reelingFromHook || playerOwner.isShiftKeyDown()) {
if (!isReeling() && reelingFromHook || playerOwner != null && playerOwner.isShiftKeyDown()) {
this.setReeling(true);
}
if(isReeling() && !reelingFromHook){
Expand Down

0 comments on commit 59fb47a

Please sign in to comment.