mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-25 02:27:38 +01:00
Remove Math.max call
This commit is contained in:
parent
c3c139735a
commit
688ab31d79
@ -226,7 +226,7 @@ public final class ViewEngine {
|
||||
final Instance instance = trackedLocation.instance();
|
||||
final Point point = trackedLocation.point();
|
||||
|
||||
Int2ObjectOpenHashMap<T> entityMap = new Int2ObjectOpenHashMap<>(Math.max(lastSize, 16));
|
||||
Int2ObjectOpenHashMap<T> entityMap = new Int2ObjectOpenHashMap<>(lastSize);
|
||||
// Current Instance
|
||||
for (var reference : instance.getEntityTracker().references(point, range, target)) {
|
||||
if (reference.isEmpty()) continue;
|
||||
|
Loading…
Reference in New Issue
Block a user