@@ -15,8 +15,8 @@
|
||||
+ // CraftBukkit end
|
||||
|
||||
villageplace.ensureLoadedAndValid(this.level, blockposition, i);
|
||||
Optional<VillagePlaceRecord> optional = villageplace.getInSquare((villageplacetype) -> {
|
||||
return villageplacetype == VillagePlaceType.NETHER_PORTAL;
|
||||
Optional<VillagePlaceRecord> optional = villageplace.getInSquare((holder) -> {
|
||||
return holder.is(PoiTypes.NETHER_PORTAL);
|
||||
}, blockposition, i, VillagePlace.Occupancy.ANY).filter((villageplacerecord) -> {
|
||||
return worldborder.isWithinBounds(villageplacerecord.getPos());
|
||||
- }).sorted(Comparator.comparingDouble((villageplacerecord) -> {
|
||||
|
||||
Reference in New Issue
Block a user