Skip to content

Commit d7e995a

Browse files
committed
Review & formatting
1 parent 271be42 commit d7e995a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/io/github/opencubicchunks/cubicchunks/mixin/core/common/server/level/MixinChunkMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ private void cc_onInit(ServerLevel level, LevelStorageSource.LevelStorageAccess
104104
ChunkStatusUpdateListener chunkStatusListener, Supplier overworldDataStorage, int viewDistance, boolean sync, CallbackInfo ci) {
105105
if (((CanBeCubic) level).cc_isCubic()) {
106106
cc_progressListener = ((CloProgressListener) progressListener);
107-
// FIXME actually pass in a cloStatusListener - since ChunkStatusUpdateListener is passed as a parameter, not sure what the best approach is without making our own constructor
107+
// TODO P2 (entities): actually pass in a cloStatusListener - since ChunkStatusUpdateListener is passed as a parameter, not sure what the best approach is without making our own constructor
108108
cc_cloStatusListener = (cloPos, fullChunkStatus) -> {};
109109
((MarkableAsCubic) distanceManager).cc_setCubic();
110110
}

src/main/java/io/github/opencubicchunks/cubicchunks/mixin/core/common/server/level/progress/MixinProcessorChunkProgressListener.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
@Mixin(ProcessorChunkProgressListener.class)
2727
public abstract class MixinProcessorChunkProgressListener implements CloProgressListener {
2828
// We need a field referencing the delegate as a CloProgressListener, otherwise we end up trying to access a field of the wrong type
29-
@AddFieldToSets(sets = ChunkToCloSet.class, owner = @Ref(ProcessorChunkProgressListener.class), field = @FieldSig(type = @Ref(ChunkProgressListener.class), name = "delegate")) private CloProgressListener cc_delegate;
29+
@AddFieldToSets(sets = ChunkToCloSet.class, owner = @Ref(ProcessorChunkProgressListener.class), field = @FieldSig(type = @Ref(ChunkProgressListener.class), name = "delegate"))
30+
private CloProgressListener cc_delegate;
3031

3132
@Inject(method = "<init>", at = @At("RETURN"))
3233
private void cc_onInit(ChunkProgressListener delegate, Executor dispatcher, CallbackInfo ci) {

0 commit comments

Comments
 (0)