Current non compilable status of all patches - THIS IS NOT READY
THERE IS STILL NO ETA. GOBLINS WILL EAT YOU.
This commit is contained in:
@@ -14,16 +14,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
List<Entity> list = this.world.a(Entity.class, new AxisAlignedBB(this.getPosition()));
|
||||
-
|
||||
- if (!list.isEmpty()) {
|
||||
- this.a(((Entity) list.get(0)).getRootVehicle());
|
||||
- }
|
||||
+ // Paper start
|
||||
+ for (Entity entity : list) {
|
||||
+ if (!entity.isPassenger() && !entity.isVehicle() && entity.canPortal()) {
|
||||
+ this.a(entity);
|
||||
+ break;
|
||||
+ }
|
||||
- this.a((Entity) list.get(this.world.random.nextInt(list.size())));
|
||||
+ // Paper start
|
||||
+ for (Entity entity : list) {
|
||||
+ if (!entity.isPassenger() && !entity.isVehicle() && entity.canPortal()) {
|
||||
+ this.a(entity);
|
||||
+ break;
|
||||
+ }
|
||||
+ // Paper end
|
||||
}
|
||||
+ // Paper end
|
||||
|
||||
if (this.age % 2400L == 0L) {
|
||||
this.h();
|
||||
|
||||
Reference in New Issue
Block a user