Update CoreBlock.java (#8583)

This commit is contained in:
WayZer
2023-06-16 03:44:02 +08:00
committed by GitHub
parent 40c5510205
commit bf1484b17c

View File

@@ -593,11 +593,6 @@ public class CoreBlock extends StorageBlock{
state.teams.unregisterCore(this); state.teams.unregisterCore(this);
int max = itemCapacity * state.teams.cores(team).size;
for(Item item : content.items()){
items.set(item, Math.min(items.get(item), max));
}
for(CoreBuild other : state.teams.cores(team)){ for(CoreBuild other : state.teams.cores(team)){
other.onProximityUpdate(); other.onProximityUpdate();
} }