1.21.2-pre4

This commit is contained in:
modmuss50 2024-10-15 14:37:57 +01:00
parent 4054068033
commit 24b7f3d9df
3 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ abstract class AttachmentTargetsMixin implements AttachmentTargetImpl {
if (thisObject instanceof BlockEntity) {
((BlockEntity) thisObject).markDirty();
} else if (thisObject instanceof Chunk) {
((Chunk) thisObject).method_65063();
((Chunk) thisObject).markNeedsSaving();
if (type.isPersistent() && ((Chunk) thisObject).getStatus().equals(ChunkStatus.EMPTY)) {
AttachmentEntrypoint.LOGGER.warn("Attaching persistent attachment {} to chunk with chunk status EMPTY. Attachment might be discarded.", type.identifier());

View file

@ -89,7 +89,7 @@ public class CommonAttachmentTests {
BlockEntity blockEntity = mock(BlockEntity.class, CALLS_REAL_METHODS);
WorldChunk worldChunk = mock(WorldChunk.class, CALLS_REAL_METHODS);
worldChunk.method_65066(pos -> { });
worldChunk.setUnsavedListener(pos -> { });
ProtoChunk protoChunk = mock(ProtoChunk.class, CALLS_REAL_METHODS);

View file

@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2560M
org.gradle.parallel=true
version=0.105.4
minecraft_version=1.21.2-pre3
minecraft_version=1.21.2-pre4
yarn_version=+build.1
loader_version=0.16.4
installer_version=1.0.1