Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
okx-code committed Jan 10, 2025
1 parent 7cba028 commit fbb1543
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
+
+ if (this.temptGoalLookupIndex != -1) {
+ final io.papermc.paper.entity.goal.TemptGoalLookup lookup = ((net.minecraft.server.level.ServerLevel) this.mob.level()).getTemptGoalLookup();
+ java.util.BitSet lookupBitSet = lookup.getBitSet(this.temptGoalLookupIndex);
+ final java.util.BitSet lookupBitSet = lookup.getBitSet(this.temptGoalLookupIndex);
+ final net.minecraft.server.level.ServerLevel level = getServerLevel(this.mob);
+ final java.util.List<net.minecraft.server.level.ServerPlayer> players = level.players();
+ if (!lookup.isCalculated(this.temptGoalLookupIndex)) {
Expand Down

0 comments on commit fbb1543

Please sign in to comment.