mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-27 18:15:44 -05:00
1.21.2-pre4
This commit is contained in:
parent
4054068033
commit
24b7f3d9df
3 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ abstract class AttachmentTargetsMixin implements AttachmentTargetImpl {
|
||||||
if (thisObject instanceof BlockEntity) {
|
if (thisObject instanceof BlockEntity) {
|
||||||
((BlockEntity) thisObject).markDirty();
|
((BlockEntity) thisObject).markDirty();
|
||||||
} else if (thisObject instanceof Chunk) {
|
} else if (thisObject instanceof Chunk) {
|
||||||
((Chunk) thisObject).method_65063();
|
((Chunk) thisObject).markNeedsSaving();
|
||||||
|
|
||||||
if (type.isPersistent() && ((Chunk) thisObject).getStatus().equals(ChunkStatus.EMPTY)) {
|
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());
|
AttachmentEntrypoint.LOGGER.warn("Attaching persistent attachment {} to chunk with chunk status EMPTY. Attachment might be discarded.", type.identifier());
|
||||||
|
|
|
@ -89,7 +89,7 @@ public class CommonAttachmentTests {
|
||||||
BlockEntity blockEntity = mock(BlockEntity.class, CALLS_REAL_METHODS);
|
BlockEntity blockEntity = mock(BlockEntity.class, CALLS_REAL_METHODS);
|
||||||
|
|
||||||
WorldChunk worldChunk = mock(WorldChunk.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);
|
ProtoChunk protoChunk = mock(ProtoChunk.class, CALLS_REAL_METHODS);
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ org.gradle.jvmargs=-Xmx2560M
|
||||||
org.gradle.parallel=true
|
org.gradle.parallel=true
|
||||||
|
|
||||||
version=0.105.4
|
version=0.105.4
|
||||||
minecraft_version=1.21.2-pre3
|
minecraft_version=1.21.2-pre4
|
||||||
yarn_version=+build.1
|
yarn_version=+build.1
|
||||||
loader_version=0.16.4
|
loader_version=0.16.4
|
||||||
installer_version=1.0.1
|
installer_version=1.0.1
|
||||||
|
|
Loading…
Reference in a new issue