Skip to content

Commit

Permalink
List → Set
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasualix committed Aug 7, 2023
1 parent 40c706c commit d1fbc93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/fi/dy/masa/tweakeroo/mixin/MixinWorld.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import java.util.HashSet;
import java.util.List;
import java.util.Set;
import java.util.function.Consumer;

@Mixin(World.class)
Expand All @@ -30,7 +31,7 @@ public abstract class MixinWorld

@Shadow
@Final
protected List<BlockEntity> unloadedBlockEntities;
protected Set<BlockEntity> unloadedBlockEntities;

@Inject(method = "tickEntity(Ljava/util/function/Consumer;Lnet/minecraft/entity/Entity;)V", at = @At("HEAD"), cancellable = true)
private void preventEntityTicking(Consumer<Entity> consumer, Entity entityIn, CallbackInfo ci)
Expand Down

0 comments on commit d1fbc93

Please sign in to comment.