Pass predicate from default get hard colliding entities method
This commit is contained in:
@@ -157,7 +157,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * Not guaranteed to only return hard colliding entites
|
||||
+ */
|
||||
+ default List<Entity> getHardCollidingEntities(@Nullable Entity entity, AxisAlignedBB axisalignedbb, Predicate<Entity> predicate) {
|
||||
+ return this.getEntities(entity, axisalignedbb);
|
||||
+ return this.getEntities(entity, axisalignedbb, predicate);
|
||||
+ }
|
||||
+ // Paper end - optimise hard collision
|
||||
+
|
||||
|
||||
Reference in New Issue
Block a user