Skip to content

Commit

Permalink
1.21.2-pre3
Browse files Browse the repository at this point in the history
  • Loading branch information
gnembon committed Oct 14, 2024
1 parent aa8ebc9 commit 9e75c36
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G

# Fabric Properties
# check https://fabricmc.net/develop/
minecraft_version=1.21.2-pre1
minecraft_version=1.21.2-pre3
loader_version=0.16.5
jsr305_version=3.0.2
fabric_version=0.105.1+1.21.2
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/carpet/mixins/LevelChunk_movableBEMixin.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ private BlockEntity ifGetBlockEntity(LevelChunk worldChunk, BlockPos blockPos_1,
*/
/* @Nullable */
// todo update me to the new version
@Override
public BlockState setBlockStateWithBlockEntity(BlockPos blockPos_1, BlockState newBlockState, BlockEntity newBlockEntity,
boolean boolean_1)
{
Expand Down Expand Up @@ -154,7 +155,7 @@ else if (oldBlock != newBlock && oldBlock instanceof EntityBlock)
newBlockState.onPlace(this.level, blockPos_1, oldBlockState, boolean_1); //This can call setblockstate! (e.g. hopper does)
}

this.unsaved = true; // shouldSave
markUnsaved();
return oldBlockState;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/carpet/script/api/WorldAccess.java
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,7 @@ LivingEntity getIndirectSourceEntity()
{
WorldTools.forceChunkUpdate(pos, world);
}
chunk.setUnsaved(true);
chunk.markUnsaved();
return Value.TRUE;
});

Expand Down

0 comments on commit 9e75c36

Please sign in to comment.