Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add comments
  • Loading branch information
Euphillya authored and BillyGalbreath committed Sep 13, 2021
commit 51f825cf29c9b2d9f2ac7293a7e067952f23cb40
4 changes: 2 additions & 2 deletions patches/server/0255-Extend-Halloween.patch
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ index e749f0f3a35783cada224e4b0c12f294c3245210..59f3478f36771bd077115513d3a62b38
private static final int FLAG_RESTING = 1;
private static final TargetingConditions BAT_RESTING_TARGETING = TargetingConditions.forNonCombat().range(4.0D);
private BlockPos targetPosition;
+ private static Level worldLevel;
+ private static Level worldLevel; // Purpur

public Bat(EntityType<? extends Bat> type, Level world) {
super(type, world);
this.moveControl = new net.pl3x.purpur.controller.FlyingWithSpacebarMoveControllerWASD(this, 0.075F); // Purpur
this.setResting(true);
+ worldLevel = world;
+ worldLevel = world; // Purpur
}

// Purpur start
Expand Down