mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
Fix unused EntitySectionStorage#getEntities(AABB, Consumer) method being broken
This commit is contained in:
parent
0e25db214f
commit
53d026edcd
@ -14,7 +14,7 @@ And since minecart hoppers are used _very_ rarely near we can avoid alot of sear
|
|||||||
Combined, this adds up a lot.
|
Combined, this adds up a lot.
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
|
diff --git a/src/main/java/net/minecraft/world/level/Level.java b/src/main/java/net/minecraft/world/level/Level.java
|
||||||
index 8cde961332f4671bdd361e8f88d0eedd595bf745..9154f434ab1a1b11d19cef8fc80f351f3eefcb57 100644
|
index 65bfcc218e50c05d5d1b90081b888f596bfef780..dbccf3c687cf52ca95934c274ae6949f600c7ca8 100644
|
||||||
--- a/src/main/java/net/minecraft/world/level/Level.java
|
--- a/src/main/java/net/minecraft/world/level/Level.java
|
||||||
+++ b/src/main/java/net/minecraft/world/level/Level.java
|
+++ b/src/main/java/net/minecraft/world/level/Level.java
|
||||||
@@ -988,7 +988,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
@@ -988,7 +988,7 @@ public abstract class Level implements LevelAccessor, AutoCloseable {
|
||||||
@ -76,14 +76,15 @@ index e3027cae3674502bdc34fdbd7002980515ffc837..07691d38960add169d24bc830ac7b951
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff --git a/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java b/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java
|
diff --git a/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java b/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java
|
||||||
index 13df7889b2b5249fb81c54fadf55315a4c515116..984e940a1d8060e5945a6efd10c9f81bed2bf057 100644
|
index 13df7889b2b5249fb81c54fadf55315a4c515116..74210dc2eef63da7360b1f833bb59b278419fb2b 100644
|
||||||
--- a/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java
|
--- a/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java
|
||||||
+++ b/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java
|
+++ b/src/main/java/net/minecraft/world/level/entity/EntitySectionStorage.java
|
||||||
@@ -111,13 +111,19 @@ public class EntitySectionStorage<T extends EntityAccess> {
|
@@ -111,13 +111,20 @@ public class EntitySectionStorage<T extends EntityAccess> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public void getEntities(AABB box, Consumer<T> action) {
|
public void getEntities(AABB box, Consumer<T> action) {
|
||||||
+ // Paper start
|
+ // Paper start
|
||||||
|
+ this.getEntities(box, action, false);
|
||||||
+ }
|
+ }
|
||||||
+ public void getEntities(AABB box, Consumer<T> action, boolean isContainerSearch) {
|
+ public void getEntities(AABB box, Consumer<T> action, boolean isContainerSearch) {
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
|
Loading…
Reference in New Issue
Block a user