remove Windows support, revert new guava to small version

This commit is contained in:
Sen 2025-03-25 11:31:48 +01:00
parent fd84384f10
commit 920405d8c5
264 changed files with 22715 additions and 377 deletions

View file

@ -7,9 +7,9 @@ import java.util.List;
import java.util.Map.Entry;
import java.util.Set;
import com.google.common.base.Predicate;
import com.google.common.collect.Lists;
import com.google.common.util.concurrent.Futures;
import java.util.function.Predicate;
import game.collect.Lists;
import game.future.Futures;
import game.Server;
import game.block.Block;
@ -2810,7 +2810,7 @@ public class NetHandlerPlayServer extends NetHandler implements ICrafting, Scrip
case MAGNET:
if(this.isAdmin()) {
List<Entity> list = this.entity.worldObj.getEntitiesWithinAABB(Entity.class, new BoundingBox(this.entity.getPosition().subtract(new BlockPos(128, 128, 128)), this.entity.getPosition().add(new BlockPos(128, 128, 128))), new Predicate<Entity>() {
public boolean apply(Entity entity) {
public boolean test(Entity entity) {
return entity.isEntityAlive() && (entity instanceof EntityItem || entity instanceof EntityXp);
}
});