mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-27 12:35:17 +01:00
Ooops
This commit is contained in:
parent
a91c4a4ee1
commit
d0f1dce859
@ -77,7 +77,7 @@ public class EntityUtils {
|
||||
public int getSimilarStacksInChunk(LivingEntity entity) {
|
||||
int count = 0;
|
||||
for (LivingEntity e : getNearbyEntities(entity.getLocation(), -1, true)) {
|
||||
if (plugin.getEntityStackManager().isStacked(e))
|
||||
if (entity.getType() == e.getType() && plugin.getEntityStackManager().isStacked(e))
|
||||
count++;
|
||||
}
|
||||
return count;
|
||||
|
Loading…
Reference in New Issue
Block a user